public abstract class MsgEchoPeerBase extends Object
Sends one message when a connection is open and echoes back any received data to the other peer.
Modifier and Type | Field and Description |
---|---|
protected int |
messageSize |
protected InetSocketAddress |
peer |
protected InetSocketAddress |
self |
Modifier | Constructor and Description |
---|---|
protected |
MsgEchoPeerBase(InetSocketAddress self,
InetSocketAddress peer,
int messageSize) |
protected final int messageSize
protected final InetSocketAddress self
protected final InetSocketAddress peer
protected MsgEchoPeerBase(InetSocketAddress self, InetSocketAddress peer, int messageSize)
Copyright © 2008–2019 The Netty Project. All rights reserved.