public class NodeConnectionFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MRUDP
constant that represents the MRUDP protocol
|
Constructor and Description |
---|
NodeConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
static NodeConnection |
getNewNodeConnection(int connectionProtocol)
Returns a new NodeConnection for the specified protocol.
|
public static final int MRUDP
public static NodeConnection getNewNodeConnection(int connectionProtocol) throws java.io.IOException, java.lang.IllegalArgumentException
connectionProtocol
- the desired protocol identifierjava.io.IOException
java.lang.IllegalArgumentException