zeus.actors.outtrays
Class FIPA_97_IIOP_Transport

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

public class FIPA_97_IIOP_Transport
extends java.lang.Object
implements OutTray

implementation of the OutTray interface that wraps a FIPA_97_IIOP transport ie. a FIPA_Agent_97 interface


Field Summary
private  FIPA_Agent_97 target
           
 
Constructor Summary
FIPA_97_IIOP_Transport(FIPA_Agent_97 target)
           
 
Method Summary
 void send(Envelope envelope)
          send takes the Envelope, pops out the "object" and then tries to cast it to a zeus.concepts.FIPAPerformative.
 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_Agent_97 target
Constructor Detail

FIPA_97_IIOP_Transport

public FIPA_97_IIOP_Transport(FIPA_Agent_97 target)
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)
send takes the Envelope, pops out the "object" and then tries to cast it to a zeus.concepts.FIPAPerformative. If it can't do that it will fail, and print a stack trace. If it can cast it, it will call the FIPA_Agent_97.message(FIPAPerformative.toString()) and send it down the wire



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