public Future < Void > start ( final int port ) { final ChannelFuture channelFuture = this . bootstrap . bind ( port ) ; this . allChannels . add ( channelFuture . channel ( ) ) ; return channelFuture ; }
Starts this mock server and listens for traffic on the given port .