zeus.actors.intrays
Class FIPA_2000_IIOP_Connection

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byFIPA._MTSImplBase
          extended byzeus.actors.intrays.FIPA_2000_IIOP_Connection
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler, MTS, MTSOperations, org.omg.CORBA.Object, java.lang.Runnable, java.io.Serializable

public class FIPA_2000_IIOP_Connection
extends _MTSImplBase
implements java.lang.Runnable

FIPA_2000_IIOP_Connection is a concreat implementation of the FIPA.MTS interface that is designed to talk to zeus.actors.fipa.FIPA_2000_Server implementors. It runs in its own thread, when it recieves a message it calls the server and puts that message on a Queue. The server then dequeues the messages and deals with them as it sees fit.

Since:
1.1
Author:
Simon Thompson
See Also:
Serialized Form

Field Summary
protected  Queue queue
           
 
Fields inherited from class FIPA._MTSImplBase
 
Fields inherited from class org.omg.CORBA.portable.ObjectImpl
 
Constructor Summary
FIPA_2000_IIOP_Connection()
           
 
Method Summary
 void debug(java.lang.String str)
           
 void message(FipaMessage aFipaMessage)
           
 void register(Queue q)
           
 void run()
           
 
Methods inherited from class FIPA._MTSImplBase
_ids, _invoke
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

queue

protected Queue queue
Constructor Detail

FIPA_2000_IIOP_Connection

public FIPA_2000_IIOP_Connection()
                          throws java.rmi.RemoteException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

register

public void register(Queue q)

message

public void message(FipaMessage aFipaMessage)
Specified by:
message in interface MTSOperations

debug

public void debug(java.lang.String str)


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