org.globus.cog.karajan.workflow.service
Class Client

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

public class Client
extends Object


Constructor Summary
Client(String contact)
           
 
Method Summary
 void close()
           
 void connect()
           
 void execute(Command command)
           
 void executeAsync(Command command)
           
 KarajanChannel getChannel()
           
static Client getClient(String contact)
           
static void main(String[] args)
           
static Client newClient(String contact, ChannelContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client(String contact)
       throws URISyntaxException
Throws:
URISyntaxException
Method Detail

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)