Package | Description |
---|---|
net.tomp2p.connection |
Modifier and Type | Method and Description |
---|---|
Bindings.Protocol |
Bindings.getProtocol() |
static Bindings.Protocol |
Bindings.Protocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bindings.Protocol[] |
Bindings.Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Bindings(Bindings.Protocol protocol)
Creates a Binding class that binds to a specified protocol.
|
Bindings(Bindings.Protocol protocol,
InetAddress externalAddress,
int externalTCPPort,
int externalUDPPort)
Creates a Binding class that binds to a specified protocol and provides
information about manual port forwarding.
|
Bindings(Bindings.Protocol protocol,
String iface)
Creates a Binding class that binds to a specified protocol and interface.
|
Bindings(Bindings.Protocol protocol,
String iface,
InetAddress bind)
Creates a Binding class that binds to a specified protocol and interface
and address.
|
Copyright © 2013. All Rights Reserved.