public abstract class MsgEchoPeerBase
extends java.lang.Object
Sends one message when a connection is open and echoes back any received data to the other peer.
限定符和类型 | 字段和说明 |
---|---|
protected int |
messageSize |
protected java.net.InetSocketAddress |
peer |
protected java.net.InetSocketAddress |
self |
限定符 | 构造器和说明 |
---|---|
protected |
MsgEchoPeerBase(java.net.InetSocketAddress self,
java.net.InetSocketAddress peer,
int messageSize) |
限定符和类型 | 方法和说明 |
---|---|
void |
run() |