javax.agent.service
Interface Transport


public interface Transport

Zeus version of the Java Agent Services Transport interface. See www.java-agent.org for the original spec (such as it is in 25/1/01).

Version:
1.1
Author:
Simon Thompson

Method Summary
 java.lang.String getLocation()
          this should return the iiop://iiop.zeus.bt.com/agentcities/adastral part of the agent aid that was used to find this transport.
 Envelope receive()
          I am not sure how receive() and receive (long) are going to be relevant to the Zeus model of active mailboxes...
 Envelope receive(long millis)
          I am not sure how receive() and receive (long) are going to be relevant to the Zeus model of active mailboxes...
 void send(Envelope envelope)
          I anticipate that the general use case for this method will be to use an implementation of zeus.actors.services.TransportFactory to generate an implentation of this interface, and then call this send method in order to send a message.
 

Method Detail

send

public void send(Envelope envelope)
I anticipate that the general use case for this method will be to use an implementation of zeus.actors.services.TransportFactory to generate an implentation of this interface, and then call this send method in order to send a message.


receive

public Envelope receive()
I am not sure how receive() and receive (long) are going to be relevant to the Zeus model of active mailboxes... Still, we shall but try!


receive

public Envelope receive(long millis)
                 throws TimeoutException
I am not sure how receive() and receive (long) are going to be relevant to the Zeus model of active mailboxes...

Throws:
TimeoutException

getLocation

public java.lang.String getLocation()
this should return the iiop://iiop.zeus.bt.com/agentcities/adastral part of the agent aid that was used to find this transport.



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