org.globus.cog.karajan.workflow.service.channels
Class ChannelContext

java.lang.Object
  extended by org.globus.cog.karajan.workflow.service.channels.ChannelContext

public class ChannelContext
extends Object


Constructor Summary
ChannelContext()
           
ChannelContext(Service service)
           
ChannelContext(ServiceContext sc)
           
 
Method Summary
 void addData(String name, Object o)
           
 ChannelID getChannelID()
           
 RemoteConfiguration.Entry getConfiguration()
           
 GSSCredential getCredential()
           
 Object getData(String name)
           
 Command getRegisteredCommand(int id)
           
 RequestHandler getRegisteredHandler(int id)
           
 String getRemoteContact()
           
 Service getService()
           
 ServiceContext getServiceContext()
           
 Timer getTimer()
           
 UserContext getUserContext()
           
 void initialize()
           
 UserContext newUserContext(GSSName name)
           
 UserContext newUserContext(String name)
           
 int nextCmdSeq()
           
protected  void notifyRegisteredListeners(Exception e)
           
 void reexecute(Command command)
           
 void registerCommand(Command cmd)
           
 void registerHandler(RequestHandler handler, int tag)
           
 void setConfiguration(RemoteConfiguration.Entry configuration)
           
 void setCredential(GSSCredential cred)
           
 void setRemoteContact(String remoteContact)
           
 void unregisterCommand(Command cmd)
           
 void unregisterHandler(int tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelContext

public ChannelContext()

ChannelContext

public ChannelContext(ServiceContext sc)

ChannelContext

public ChannelContext(Service service)
Method Detail

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)