zeus.actors.outtrays
Class FIPA_2000_HTTP_Transport

java.lang.Object
  extended byzeus.actors.outtrays.FIPA_2000_HTTP_Transport
All Implemented Interfaces:
OutTray

public class FIPA_2000_HTTP_Transport
extends java.lang.Object
implements OutTray

FIPA_2000_HTTP_Transport is an OutTray that is used to send a message to a FIPA http agent.

Since:
1.1
Author:
Simon Thompson

Field Summary
protected  int BUFFER_SIZE
           
private  java.io.File file
           
private  java.io.FileWriter log
           
private  FIPA_2000_HTTP_Accessor target
           
 
Constructor Summary
FIPA_2000_HTTP_Transport(FIPA_2000_HTTP_Accessor target, java.io.File file)
          simple constructor that registers where this OutTray is looking to send messages to.
 
Method Summary
private  void debug(java.lang.String message)
          debug was used to see what was going on when we built this
 void send(Envelope envelope)
          use this message to send an Envelope containing a FIPA_Performative to an FIPA 2000 HTTP complient interface..
 void send(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private FIPA_2000_HTTP_Accessor target

log

private java.io.FileWriter log

file

private java.io.File file

BUFFER_SIZE

protected int BUFFER_SIZE
Constructor Detail

FIPA_2000_HTTP_Transport

public FIPA_2000_HTTP_Transport(FIPA_2000_HTTP_Accessor target,
                                java.io.File file)
simple constructor that registers where this OutTray is looking to send messages to.

Method Detail

send

public void send(java.lang.Object obj)
          throws UnsuitableMessageException
Specified by:
send in interface OutTray
Throws:
UnsuitableMessageException

send

public void send(Envelope envelope)
use this message to send an Envelope containing a FIPA_Performative to an FIPA 2000 HTTP complient interface..


debug

private void debug(java.lang.String message)
debug was used to see what was going on when we built this



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