com.agentfactory.cldc.mts
Class Sender

java.lang.Object
  extended by com.agentfactory.cldc.mts.Sender

public class Sender
extends java.lang.Object

Sends a message directly within its own socket to a destination address. This class is used by the inform actuator and request actuator when the message transport service is operating in asynchronous mode.

Author:
Conor Muldoon

Constructor Summary
Sender()
           
 
Method Summary
static boolean send(FOS fos, java.lang.String perf)
          Sends a message within a socket.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sender

public Sender()
Method Detail

send

public static boolean send(FOS fos,
                           java.lang.String perf)
Sends a message within a socket.

Parameters:
fos - a first order structure representation of the URL of the destination of the message.
perf - the performative of the message.
Returns:
true if the message sent correctly, false if there was an exception.