org.globus.cog.karajan.workflow.service.channels
Class ChannelContext
java.lang.Object
org.globus.cog.karajan.workflow.service.channels.ChannelContext
public class ChannelContext
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelContext
public ChannelContext()
ChannelContext
public ChannelContext(ServiceContext sc)
ChannelContext
public ChannelContext(Service service)
getUserContext
public UserContext getUserContext()
newUserContext
public UserContext newUserContext(GSSName name)
throws ChannelException
- Throws:
ChannelException
newUserContext
public UserContext newUserContext(String name)
throws ChannelException
- Throws:
ChannelException
initialize
public void initialize()
getConfiguration
public RemoteConfiguration.Entry getConfiguration()
setConfiguration
public void setConfiguration(RemoteConfiguration.Entry configuration)
getRemoteContact
public String getRemoteContact()
setRemoteContact
public void setRemoteContact(String remoteContact)
getChannelID
public ChannelID getChannelID()
nextCmdSeq
public int nextCmdSeq()
registerCommand
public void registerCommand(Command cmd)
throws ProtocolException
- Throws:
ProtocolException
unregisterCommand
public void unregisterCommand(Command cmd)
registerHandler
public void registerHandler(RequestHandler handler,
int tag)
unregisterHandler
public void unregisterHandler(int tag)
getRegisteredCommand
public Command getRegisteredCommand(int id)
getRegisteredHandler
public RequestHandler getRegisteredHandler(int id)
notifyRegisteredListeners
protected void notifyRegisteredListeners(Exception e)
getTimer
public Timer getTimer()
reexecute
public void reexecute(Command command)
getService
public Service getService()
getServiceContext
public ServiceContext getServiceContext()
setCredential
public void setCredential(GSSCredential cred)
getCredential
public GSSCredential getCredential()
getData
public Object getData(String name)
addData
public void addData(String name,
Object o)