org.globus.cog.karajan.workflow.service.channels
Class MetaChannel
java.lang.Object
org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel
org.globus.cog.karajan.workflow.service.channels.MetaChannel
- All Implemented Interfaces:
- KarajanChannel
public class MetaChannel
- extends AbstractKarajanChannel
Methods inherited from class org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel |
close, decLongTermUsageCount, decUsageCount, getChannelContext, getLongTermUsageCount, getRequestManager, incLongTermUsageCount, incUsageCount, isClosed, isLocalShutdown, ppByteBuf, readFromStream, readFromStream, sendTaggedData, sendTaggedReply, sendTaggedReply, setChannelContext, setLocalShutdown, shutdown |
MetaChannel
public MetaChannel(ChannelContext channelContext)
MetaChannel
public MetaChannel(RequestManager requestManager,
ChannelContext channelContext)
sendTaggedData
public void sendTaggedData(int tag,
int flags,
byte[] data)
registerCommand
public void registerCommand(Command cmd)
throws ProtocolException
- Specified by:
registerCommand
in interface KarajanChannel
- Overrides:
registerCommand
in class AbstractKarajanChannel
- Throws:
ProtocolException
registerHandler
public void registerHandler(RequestHandler handler,
int tag)
- Specified by:
registerHandler
in interface KarajanChannel
- Overrides:
registerHandler
in class AbstractKarajanChannel
unregisterCommand
public void unregisterCommand(Command cmd)
- Specified by:
unregisterCommand
in interface KarajanChannel
- Overrides:
unregisterCommand
in class AbstractKarajanChannel
unregisterHandler
public void unregisterHandler(int tag)
- Specified by:
unregisterHandler
in interface KarajanChannel
- Overrides:
unregisterHandler
in class AbstractKarajanChannel
getUserContext
public UserContext getUserContext()
bind
public void bind(KarajanChannel channel)
throws ChannelException
- Throws:
ChannelException
isShuttingDown
public boolean isShuttingDown()
isOffline
public boolean isOffline()
deactivateLater
public void deactivateLater(int seconds)
getTimer
public Timer getTimer()
poll
public void poll(int seconds)
toString
public String toString()
- Overrides:
toString
in class Object
isClient
public boolean isClient()
- Specified by:
isClient
in interface KarajanChannel
- Overrides:
isClient
in class AbstractKarajanChannel