hypercast
Interface I_NodeLoader
- All Known Implementing Classes:
- DTBroadcast, DTBuddyList, DTServer, HC, NONE, SPT
- public interface I_NodeLoader
This is the interface for an overlay node loader. The node is
responsible for loading an overlay node in the NodeFactory Class.
A name of an overlay node loader must be identical to a name of
a protocol in the schema.
Method Summary |
hypercast.I_Node |
create_newNode(hypercast.HyperCastConfig config,
hypercast.I_UnicastAdapter adapter,
java.lang.String prefix)
This method creates I_Node object for each protocol. |
create_newNode
public hypercast.I_Node create_newNode(hypercast.HyperCastConfig config,
hypercast.I_UnicastAdapter adapter,
java.lang.String prefix)
- This method creates I_Node object for each protocol.
- Parameters:
config
- socket configuration objectadapter
- node adapter that is passed to the node constructorprefix
- property prefix
- Returns:
- an I_Node object