org.objectweb.jonathan.protocols.api

Class 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

Context
getHints()
ProtocolInfo[]
getLower()
Get the lower nodes
Protocol
getProtocol()
Get the protocol id of this node
void
setHints(Context hints)
Set the hints that may help things to happen smoothly (e.g.
String
toString()

Constructor Details

ProtocolInfo

public ProtocolInfo(Protocol current)
Create a leaf ProtocolInfo node


ProtocolInfo

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

Method Details

getHints

public Context getHints()


getLower

public ProtocolInfo[] getLower()
Get the lower nodes


getProtocol

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


setHints

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


toString

public String toString()