public class MsgEchoPeerOne extends MsgEchoPeerBase
Sends one message when a connection is open and echoes back any received data to the other peer.
messageSize, peer, self
Constructor and Description |
---|
MsgEchoPeerOne(InetSocketAddress self,
InetSocketAddress peer,
int messageSize) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
run
public MsgEchoPeerOne(InetSocketAddress self, InetSocketAddress peer, int messageSize)
Copyright © 2008–2020 The Netty Project. All rights reserved.