public class UnicastTest
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
protected class |
UnicastTest.MyReceiver |
protected class |
UnicastTest.Sender |
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
busy_sleep |
protected JChannel |
channel |
protected static byte |
DATA |
protected boolean |
dont_bundle |
protected int |
msg_size |
protected int |
num_msgs |
protected int |
num_threads |
protected boolean |
oob |
protected UnicastTest.MyReceiver |
receiver |
protected long |
sleep_time |
protected static byte |
START |
构造器和说明 |
---|
UnicastTest() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
_init(JChannel ch,
long sleep_time,
boolean busy_sleep,
java.lang.String name) |
void |
eventLoop() |
protected Address |
getReceiver() |
void |
init(Protocol[] props,
long sleep_time,
boolean busy_sleep,
java.lang.String name) |
void |
init(java.lang.String props,
long sleep_time,
boolean busy_sleep,
java.lang.String name) |
static void |
main(java.lang.String[] args) |
protected void |
printConnections() |
protected void |
removeAllConnections() |
protected JChannel channel
protected final UnicastTest.MyReceiver receiver
protected long sleep_time
protected boolean busy_sleep
protected boolean oob
protected boolean dont_bundle
protected int num_threads
protected int num_msgs
protected int msg_size
protected static final byte START
protected static final byte DATA
public void init(Protocol[] props, long sleep_time, boolean busy_sleep, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public void init(java.lang.String props, long sleep_time, boolean busy_sleep, java.lang.String name) throws java.lang.Exception
java.lang.Exception
protected void _init(JChannel ch, long sleep_time, boolean busy_sleep, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public void eventLoop() throws java.lang.Exception
java.lang.Exception
protected void printConnections()
protected void removeAllConnections()
protected Address getReceiver()
public static void main(java.lang.String[] args)