org.jgroups.protocols
public static class UDP_NIO.Connector extends Object implements Runnable
| Field Summary | |
|---|---|
| protected byte[] | receive_buffer Buffer for incoming unicast packets |
| protected UDP_NIO.Connector.SenderThread | sender_thread |
| protected Thread | t |
| Constructor Summary | |
|---|---|
| Connector(NetworkInterface bind_interface, int local_bind_port, int port_range, int receive_buffer_size, int receive_sock_buf_size, int send_sock_buf_size, int ip_ttl, Receiver receiver) | |
| Method Summary | |
|---|---|
| NetworkInterface | getBindInterface() |
| SocketAddress | getLocalAddress() |
| void | run() |
| void | send(DatagramPacket packet) Sends a message using mcast_sock |
| void | start() |
| void | stop() Stops the connector. |
| String | toString() |