unsw.cse.mica.agent
Class AgentTransportUtils

java.lang.Object
  extended by unsw.cse.mica.agent.AgentTransportUtils

public class AgentTransportUtils
extends java.lang.Object


Constructor Summary
AgentTransportUtils()
           
 
Method Summary
static AgentTransport createParallelConnection(AgentTransport at, Agent a)
           
static AgentTransport createParallelConnection(AgentTransport at, Agent a, java.lang.String host, int port)
           
static java.lang.String getHost(AgentTransport at)
           
static int getPort(AgentTransport at)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentTransportUtils

public AgentTransportUtils()
Method Detail

createParallelConnection

public static AgentTransport createParallelConnection(AgentTransport at,
                                                      Agent a)
                                               throws TransportException
Throws:
TransportException

createParallelConnection

public static AgentTransport createParallelConnection(AgentTransport at,
                                                      Agent a,
                                                      java.lang.String host,
                                                      int port)
                                               throws TransportException
Throws:
TransportException

getPort

public static int getPort(AgentTransport at)
                   throws TransportException
Throws:
TransportException

getHost

public static java.lang.String getHost(AgentTransport at)
                                throws TransportException
Throws:
TransportException