zeus.actors.intrays
Class FIPA_Server

java.lang.Object
  extended byjava.lang.Thread
      extended byzeus.actors.Server
          extended byzeus.actors.intrays.FIPA_Server
All Implemented Interfaces:
InTray, java.lang.Runnable

public class FIPA_Server
extends Server
implements InTray

This is an extention of the Server class which is normally used in Zeus Instead of providing a sockets/TCPIP based transport this class provides a IIOP based transport as per the FIPA specs

Perhaps it should be called IIOP_Server? This is not well implemented yet, and Zeus_ACC_Server is the one to use instead.


Field Summary
protected  AgentContext context
           
private  Queue msgQ
           
private  ZeusParser parser
           
 
Fields inherited from class zeus.actors.Server
address, connection_count, DEFAULT_PORT_MAX, DEFAULT_PORT_MIN, inMail, listenSocket, MAX_CONNECTIONS, MAX_QUEUE_LENGTH, mbox, msgHandler, processing, timeout
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FIPA_Server()
           
FIPA_Server(java.lang.String hostAddress, java.lang.String name)
           
 
Method Summary
 java.lang.String pop()
           
 void run()
          This method should call an agnostic message handler....
 
Methods inherited from class zeus.actors.Server
debug, finalize, getAddress, getAgentContext, getResponseAddress, lowerStatus, newMsg, normalStatus, stopProcessing, updateCount
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface zeus.actors.InTray
getResponseAddress
 

Field Detail

context

protected AgentContext context

msgQ

private Queue msgQ

parser

private ZeusParser parser
Constructor Detail

FIPA_Server

public FIPA_Server()

FIPA_Server

public FIPA_Server(java.lang.String hostAddress,
                   java.lang.String name)
Method Detail

run

public void run()
This method should call an agnostic message handler.... Right now, it just prints the message to System.out

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class Server

pop

public java.lang.String pop()


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