Package org.deckfour.xes.extension.std
Class XSoftwareCommunicationExtension
- java.lang.Object
-
- org.deckfour.xes.extension.XExtension
-
- org.deckfour.xes.extension.std.XSoftwareCommunicationExtension
-
- All Implemented Interfaces:
java.io.Serializable
public class XSoftwareCommunicationExtension extends XExtension
- Author:
- Eric Verbeek (h.m.w.verbeek@tue.nl)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static XAttributeLiteralATTR_LOCAL_HOSTGlobal prototype place holders.static XAttributeDiscreteATTR_LOCAL_PORTstatic XAttributeLiteralATTR_REMOTE_HOSTstatic XAttributeDiscreteATTR_REMOTE_PORTstatic java.net.URIEXTENSION_URIUnique URI of this extension.static java.lang.StringKEY_LOCAL_HOSTGlobal key place holders.static java.lang.StringKEY_LOCAL_PORTstatic java.lang.StringKEY_REMOTE_HOSTstatic java.lang.StringKEY_REMOTE_PORTstatic java.lang.StringPREFIXPrefix for this extension.-
Fields inherited from class org.deckfour.xes.extension.XExtension
allAttributes, eventAttributes, logAttributes, metaAttributes, name, prefix, traceAttributes, uri
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XAttributeLiteralassignLocalHost(XEvent event, java.lang.String localHost)XAttributeDiscreteassignLocalPort(XEvent event, long localPort)XAttributeLiteralassignRemoteHost(XEvent event, java.lang.String remoteHost)XAttributeDiscreteassignRemotePort(XEvent event, long remotePort)java.lang.StringextractLocalHost(XEvent event)longextractLocalPort(XEvent event)java.lang.StringextractRemoteHost(XEvent event)longextractRemotePort(XEvent event)static XSoftwareCommunicationExtensioninstance()Provides access to the singleton instance.-
Methods inherited from class org.deckfour.xes.extension.XExtension
accept, equals, getDefinedAttributes, getEventAttributes, getLogAttributes, getMetaAttributes, getName, getPrefix, getTraceAttributes, getUri, hashCode, toString
-
-
-
-
Field Detail
-
EXTENSION_URI
public static final java.net.URI EXTENSION_URI
Unique URI of this extension.
-
PREFIX
public static final java.lang.String PREFIX
Prefix for this extension.- See Also:
- Constant Field Values
-
KEY_LOCAL_HOST
public static final java.lang.String KEY_LOCAL_HOST
Global key place holders. Can be initialized immediately.
-
KEY_LOCAL_PORT
public static final java.lang.String KEY_LOCAL_PORT
-
KEY_REMOTE_HOST
public static final java.lang.String KEY_REMOTE_HOST
-
KEY_REMOTE_PORT
public static final java.lang.String KEY_REMOTE_PORT
-
ATTR_LOCAL_HOST
public static XAttributeLiteral ATTR_LOCAL_HOST
Global prototype place holders. Need to be initialized by constructor.
-
ATTR_LOCAL_PORT
public static XAttributeDiscrete ATTR_LOCAL_PORT
-
ATTR_REMOTE_HOST
public static XAttributeLiteral ATTR_REMOTE_HOST
-
ATTR_REMOTE_PORT
public static XAttributeDiscrete ATTR_REMOTE_PORT
-
-
Method Detail
-
instance
public static XSoftwareCommunicationExtension instance()
Provides access to the singleton instance.- Returns:
- Singleton extension.
-
extractLocalHost
public java.lang.String extractLocalHost(XEvent event)
-
assignLocalHost
public XAttributeLiteral assignLocalHost(XEvent event, java.lang.String localHost)
-
extractLocalPort
public long extractLocalPort(XEvent event)
-
assignLocalPort
public XAttributeDiscrete assignLocalPort(XEvent event, long localPort)
-
extractRemoteHost
public java.lang.String extractRemoteHost(XEvent event)
-
assignRemoteHost
public XAttributeLiteral assignRemoteHost(XEvent event, java.lang.String remoteHost)
-
extractRemotePort
public long extractRemotePort(XEvent event)
-
assignRemotePort
public XAttributeDiscrete assignRemotePort(XEvent event, long remotePort)
-
-