Class UDPWorkflowEventSource
java.lang.Object
de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
de.uplanet.lucy.server.workflow.eventsource.UDPWorkflowEventSource
- All Implemented Interfaces:
IActivatableWorkflowObject
,de.uplanet.lucy.server.workflow.IImpersonateUser
,ILogLevelAware
,INamedWorkflowObject
,INeedWorkflow
,IRunnableWorkflowObject
,IStartableWorkflowObject
,ISupportAfterStopEvent
,ISupportBeforeStartEvent
,ISupportGlobalSharedState
,IWorkflowEventSource
,IWorkflowObject
,Serializable
public final class UDPWorkflowEventSource
extends AbstractSingleThreadedWorkflowEventSource
implements ISupportGlobalSharedState, ISupportBeforeStartEvent, ISupportAfterStopEvent
- See Also:
-
Field Summary
FieldsFields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
Get the protocol family.int
int
boolean
This property determines if a global shared state should be used for all events created by this event source.boolean
boolean
This property determines if an after-stop event should be sent.boolean
This property determines if an before-start event should be sent.boolean
boolean
void
setGlobalSharedState
(boolean p_bGlobalSharedState) This property determines if a global shared state should be used for all events created by this event source.void
setIpMulticastLoop
(boolean p_bIP_MULTICAST_LOOP) void
setListenAddress
(String p_strListenAddress) void
setListenAddressParamRef
(String p_strParamRef) void
setListenPort
(int p_iListenPort) void
setListenPortParamRef
(String p_strParamRef) void
setMaxDatagramSize
(int p_iMaxDatagramSize) void
setProtocolFamily
(String p_strProtocolFamily) Set the protocol family.void
setSendAfterStopEvent
(boolean p_bSendAfterStopEvent) This property determines if an after-stop event should be sent.void
setSendBeforeStartEvent
(boolean p_bSendBeforeStartEvent) This property determines if an before-start event should be sent.void
setSoBroadcast
(boolean p_iSO_BROADCAST) void
setSoReceiveBuffer
(int p_iSO_RCVBUF) void
setSoReuseAddress
(boolean p_bSO_REUSEADDR) void
setSoSendBuffer
(int p_iSO_SNDBUF) Methods inherited from class de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
getDatabaseConnectionFactory, getStartDelay, getStopWaitTimeout, isLogVerbose, isRunning, setDatabaseConnectionFactory, setLogVerbose, setStartDelay, setStopWaitTimeout, shouldRun, start, stop
Methods inherited from class de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
getGuid, getImpersonateUserGuid, getName, getWorkflow, hasImpersonateUserGuid, isActive, isRunWithLocalSystemPrivileges, setActive, setImpersonateUserGuid, setName, setRunWithLocalSystemPrivileges, setWorkflow, toString
-
Field Details
-
DEFAULT_MAX_DATAGRAM_SIZE
public static final int DEFAULT_MAX_DATAGRAM_SIZE- See Also:
-
-
Constructor Details
-
UDPWorkflowEventSource
-
-
Method Details
-
isSendBeforeStartEvent
public boolean isSendBeforeStartEvent()Description copied from interface:ISupportBeforeStartEvent
This property determines if an before-start event should be sent.- Specified by:
isSendBeforeStartEvent
in interfaceISupportBeforeStartEvent
- Returns:
true
if an event should be sent before the workflow object's activity is about to being started, orfalse
otherwise.
-
setSendBeforeStartEvent
public void setSendBeforeStartEvent(boolean p_bSendBeforeStartEvent) Description copied from interface:ISupportBeforeStartEvent
This property determines if an before-start event should be sent.- Specified by:
setSendBeforeStartEvent
in interfaceISupportBeforeStartEvent
- Parameters:
p_bSendBeforeStartEvent
-true
if an event should be sent before the workflow object's activity is about to being started, orfalse
otherwise.
-
isSendAfterStopEvent
public boolean isSendAfterStopEvent()Description copied from interface:ISupportAfterStopEvent
This property determines if an after-stop event should be sent.- Specified by:
isSendAfterStopEvent
in interfaceISupportAfterStopEvent
- Returns:
true
if an event should be sent after the workflow object's activity has been stopped, orfalse
otherwise.
-
setSendAfterStopEvent
public void setSendAfterStopEvent(boolean p_bSendAfterStopEvent) Description copied from interface:ISupportAfterStopEvent
This property determines if an after-stop event should be sent.- Specified by:
setSendAfterStopEvent
in interfaceISupportAfterStopEvent
- Parameters:
p_bSendAfterStopEvent
-true
if an event should be sent after the workflow object's activity has been stopped, orfalse
otherwise.
-
getProtocolFamily
Get the protocol family.- Returns:
- Either
null
, orINET
, orINET6
.
-
setProtocolFamily
Set the protocol family. Valid values arenull
for any protocol version,INET
for Internet Protocol Version 4 (IPv4), orINET6
for Internet Protocol Version 6 (IPv6).
- Parameters:
p_strProtocolFamily
- Eithernull
, orINET
, orINET6
.
-
getListenAddress
-
setListenAddress
-
getListenAddressParamRef
-
setListenAddressParamRef
-
getListenPort
public int getListenPort() -
setListenPort
public void setListenPort(int p_iListenPort) -
getListenPortParamRef
-
setListenPortParamRef
-
getMaxDatagramSize
public int getMaxDatagramSize() -
setMaxDatagramSize
public void setMaxDatagramSize(int p_iMaxDatagramSize) -
getSoReceiveBuffer
public int getSoReceiveBuffer() -
setSoReceiveBuffer
public void setSoReceiveBuffer(int p_iSO_RCVBUF) -
getSoSendBuffer
public int getSoSendBuffer() -
setSoSendBuffer
public void setSoSendBuffer(int p_iSO_SNDBUF) -
isSoBroadcast
public boolean isSoBroadcast() -
setSoBroadcast
public void setSoBroadcast(boolean p_iSO_BROADCAST) -
isSoReuseAddress
public boolean isSoReuseAddress() -
setSoReuseAddress
public void setSoReuseAddress(boolean p_bSO_REUSEADDR) -
isIpMulticastLoop
public boolean isIpMulticastLoop() -
setIpMulticastLoop
public void setIpMulticastLoop(boolean p_bIP_MULTICAST_LOOP)
-