zeus.actors.outtrays
Class FIPA_2000_HTTP_Accessor

java.lang.Object
  extended byzeus.actors.outtrays.FIPA_2000_HTTP_Accessor

public class FIPA_2000_HTTP_Accessor
extends java.lang.Object

FIPA_2000_HTTP_Accessor is used to carry the information for a http connection from the TransportFactory to the actuall FIPA_2000_HTTP_Transport

Since:
1.1
Author:
Simon Thompson

Field Summary
private  java.lang.String host
           
private  java.lang.String name
           
private  java.lang.String port
           
private  java.lang.String separator
           
 
Constructor Summary
FIPA_2000_HTTP_Accessor(java.lang.String address)
           
 
Method Summary
private  void debug(java.lang.String s)
           
 java.lang.String getAddress()
           
 java.lang.String getHost()
          get the host
 java.lang.String getName()
          guess what this does?
 java.lang.String getPort()
          get the port number
 boolean send(java.lang.String message)
          open a socket to the receiving agent and send it the message
 void setHost(java.lang.String hostName)
          set the host that we are contacting : www.bt.com
 void setName(java.lang.String entityName)
          use this to set the name of the entity to be contacted (usually acc/df/ams) note that if there is a name space then include it here (ie. if the address is http://www.bt.com:80/agents/agentcities/adastral/acc then the parameter entityName should be agents/a
 void setPort(int port)
          set the port numnber : 80 for instance
 void setPort(java.lang.String portNumber)
          set the port numnber : 80 for instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

private java.lang.String host

port

private java.lang.String port

separator

private java.lang.String separator

name

private java.lang.String name
Constructor Detail

FIPA_2000_HTTP_Accessor

public FIPA_2000_HTTP_Accessor(java.lang.String address)
Method Detail

setName

public void setName(java.lang.String entityName)
use this to set the name of the entity to be contacted (usually acc/df/ams) note that if there is a name space then include it here (ie. if the address is http://www.bt.com:80/agents/agentcities/adastral/acc then the parameter entityName should be agents/a


getName

public java.lang.String getName()
guess what this does?


setHost

public void setHost(java.lang.String hostName)
set the host that we are contacting : www.bt.com


setPort

public void setPort(java.lang.String portNumber)
set the port numnber : 80 for instance


getPort

public java.lang.String getPort()
get the port number


getHost

public java.lang.String getHost()
get the host


setPort

public void setPort(int port)
set the port numnber : 80 for instance


getAddress

public java.lang.String getAddress()

send

public boolean send(java.lang.String message)
open a socket to the receiving agent and send it the message


debug

private void debug(java.lang.String s)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.