public class NetworkInit
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NetworkInit.CIDRBlock
Representation of a single CIDR block (subnet).
|
Modifier and Type | Field and Description |
---|---|
static java.nio.channels.ServerSocketChannel |
_tcpSocket |
static java.nio.channels.DatagramChannel |
_udpSocket |
static java.nio.channels.DatagramChannel |
CLOUD_DGRAM |
Constructor and Description |
---|
NetworkInit() |
Modifier and Type | Method and Description |
---|---|
static java.net.InetAddress |
findInetAddressForSelf()
Finds inetaddress for specified -ip parameter or
guess address if parameter is not specified.
|
static void |
initializeNetworkSockets() |
static void |
multicast(java.nio.ByteBuffer bb,
byte priority) |
public static java.nio.channels.DatagramChannel _udpSocket
public static java.nio.channels.ServerSocketChannel _tcpSocket
public static java.nio.channels.DatagramChannel CLOUD_DGRAM
public static java.net.InetAddress findInetAddressForSelf() throws java.lang.Error
java.lang.Error
public static void initializeNetworkSockets()
public static void multicast(java.nio.ByteBuffer bb, byte priority)