// For an accept to be pending the channel must be a server socket
// channel.
SctpServerChannel serverSocketChannel = (SctpServerChannel) key.channel();
// Accept the connection and make it non-blocking
SctpChannel socketChannel = serverSocketChannel.accept();
Set<SocketAddress> peerAddresses = socketChannel.getRemoteAddresses();
this.doAccept(serverSocketChannel, socketChannel, peerAddresses);
}