org.globus.cog.karajan.workflow.service.channels
Class BufferingChannel
java.lang.Object
org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel
org.globus.cog.karajan.workflow.service.channels.BufferingChannel
- All Implemented Interfaces:
- KarajanChannel, Purgeable
public class BufferingChannel
- extends AbstractKarajanChannel
- implements Purgeable
Used for buffering of commands with a polling configuration. Which
means that reply timeouts should be a channel thing, and should
be considered from the time of the actual send
Methods inherited from class org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel |
close, decLongTermUsageCount, decUsageCount, getChannelContext, getLongTermUsageCount, getRequestManager, incLongTermUsageCount, incUsageCount, isClient, isClosed, isLocalShutdown, ppByteBuf, readFromStream, readFromStream, registerCommand, registerHandler, sendTaggedData, sendTaggedReply, sendTaggedReply, setChannelContext, setLocalShutdown, shutdown, unregisterCommand, unregisterHandler |
BufferingChannel
public BufferingChannel(ChannelContext channelContext)
sendTaggedData
public void sendTaggedData(int tag,
int flags,
byte[] data)
- Specified by:
sendTaggedData
in interface KarajanChannel
getUserContext
public UserContext getUserContext()
- Specified by:
getUserContext
in interface KarajanChannel
purge
public void purge(KarajanChannel channel)
throws IOException
- Specified by:
purge
in interface Purgeable
- Throws:
IOException
isOffline
public boolean isOffline()
- Specified by:
isOffline
in interface KarajanChannel
toString
public String toString()
- Overrides:
toString
in class Object