public class Common extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NUM_MESSAGES |
static int |
PING_PORT |
static int |
PONG_PORT |
Constructor and Description |
---|
Common() |
Modifier and Type | Method and Description |
---|---|
static void |
init(DatagramChannel channel) |
static void |
init(DatagramChannel channel,
InetSocketAddress sendAddress) |
static NioSelectedKeySet |
keySet(Selector selector) |
public static final int NUM_MESSAGES
public static final int PONG_PORT
public static final int PING_PORT
public static void init(DatagramChannel channel) throws IOException
IOException
public static void init(DatagramChannel channel, InetSocketAddress sendAddress) throws IOException
IOException
public static NioSelectedKeySet keySet(Selector selector)
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.