The NetIORequest Class contains the following constructors:
NetIORequest(int accesstype, String hostname)
NetIORequest(int accesstype, String hostname, int port)
NetIORequest(int accesstype, int port)
NetIORequest(int accesstype, InetAddress addr, int ttl)
NetIORequest(int accesstype, InetAddress addr)
Creates a networking I/O request that specifies an attempt to connect to the specified host or to receive connections from the specified host.
public NetIORequest(int accesstype, String hostname);
accesstype | The type of access requested. |
hostname | The name of the host. |
Creates a networking I/O request that specifies an attempt to connect to the specified host/port or to receive connections from the specified host on the specified port.
public NetIORequest(int accesstype, String hostname, int port);
accesstype | The type of access requested. The value must be CONNECT or ACCEPT. |
hostname | The network host to access. |
port | The port to access. |
Creates a networking I/O request that specifies an attempt to listen for networking connections on the specified port.
public NetIORequest(int accesstype, int port);
accesstype | The type of access requested. The value should be LISTEN. |
port | The local port number to listen on. |
Creates a networking I/O request that specifies an attempt to perform a multicast operation to the specified Internet address with the specified time to live value.
public NetIORequest(int accesstype, InetAddress addr, int ttl);
accesstype | The type of access requested. The value should be MULTICAST. |
addr | The Internet address. |
ttl | The time to live value. |
Creates a networking I/O request that specifies an attempt to perform a multicast operation to the specified Internet address.
public NetIORequest(int accesstype, InetAddress addr);
accesstype | The type of access requested. The value should be MULTICAST. |
addr | The Internet address. |