org.globus.cog.karajan.workflow.service
Class Client
java.lang.Object
org.globus.cog.karajan.workflow.service.Client
public class Client
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Client
public Client(String contact)
throws URISyntaxException
- Throws:
URISyntaxException
getClient
public static Client getClient(String contact)
throws Exception
- Throws:
Exception
newClient
public static Client newClient(String contact,
ChannelContext context)
throws Exception
- Throws:
Exception
connect
public void connect()
throws Exception
- Throws:
Exception
execute
public void execute(Command command)
throws IOException,
ProtocolException
- Throws:
IOException
ProtocolException
executeAsync
public void executeAsync(Command command)
throws ProtocolException,
IOException
- Throws:
ProtocolException
IOException
close
public void close()
throws IOException
- Throws:
IOException
getChannel
public KarajanChannel getChannel()
main
public static void main(String[] args)