All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----JavaGroups.JavaStack.Configurator
Future functionality will include the capability to dynamically modify the layering of the protocol stack and the properties of each layer.
public Configurator()
public Protocol SetupProtocolStack(String configuration, ProtocolStack st) throws Exception
UDP(in_port=5555;out_port=4445):FRAG(frag_size=1024)
The first entry defines the bottommost layer, the string is parsed left to right and the protocol stack constructed bottom up. Example: the string "UDP(in_port=5555):FRAG(frag_size=32000):DEBUG" results is the following stack:
----------------------- | DEBUG | |-----------------------| | FRAG frag_size=32000 | |-----------------------| | UDP in_port=32000 | -----------------------
public void StartProtocolStack(Protocol bottom_prot)StopProtocolStack
public void StopProtocolStack(Protocol start_prot)FindProtocol
public Protocol FindProtocol(Protocol prot_stack, String name)main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index