org.objectweb.jonathan.protocols.api
Class ProtocolInfo

java.lang.Object
  extended byorg.objectweb.jonathan.protocols.api.ProtocolInfo

public class ProtocolInfo
extends Object

Tree-like structure to hold the protocol stack info at configuration time. This will be used in the Binder to instanciate server side protocol graphs.


Constructor Summary
ProtocolInfo(Protocol current)
          Create a leaf ProtocolInfo node
ProtocolInfo(Protocol current, ProtocolInfo[] lower)
          Create a non-leaf ProtocolInfo node
 
Method Summary
 org.objectweb.jonathan.apis.kernel.Context getHints()
           
 ProtocolInfo[] getLower()
          Get the lower nodes
 Protocol getProtocol()
          Get the protocol id of this node
 void setHints(org.objectweb.jonathan.apis.kernel.Context hints)
          Set the hints that may help things to happen smoothly (e.g.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolInfo

public ProtocolInfo(Protocol current)
Create a leaf ProtocolInfo node


ProtocolInfo

public ProtocolInfo(Protocol current,
                    ProtocolInfo[] lower)
Create a non-leaf ProtocolInfo node

Method Detail

setHints

public void setHints(org.objectweb.jonathan.apis.kernel.Context hints)
Set the hints that may help things to happen smoothly (e.g. configure the port in TCP/IP, ...)


getLower

public ProtocolInfo[] getLower()
Get the lower nodes


getProtocol

public Protocol getProtocol()
Get the protocol id of this node


getHints

public org.objectweb.jonathan.apis.kernel.Context getHints()

toString

public String toString()