public class MsgEchoPeerTwo 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 |
---|
MsgEchoPeerTwo(InetSocketAddress self,
InetSocketAddress peer,
int messageSize) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
run
public MsgEchoPeerTwo(InetSocketAddress self, InetSocketAddress peer, int messageSize)
Copyright © 2008–2017 The Netty Project. All rights reserved.