Fix a few typos
This commit is contained in:
parent
60cfb547b4
commit
067a2af700
@ -56,7 +56,7 @@ public abstract class ChannelInitializer<C extends Channel> extends ChannelState
|
||||
* will be removed from the {@link ChannelPipeline} of the {@link Channel}.
|
||||
*
|
||||
* @param ch the {@link Channel} which was registered.
|
||||
* @throws Exception is thrown if an error accours. In that case the {@link Channel} will be closed.
|
||||
* @throws Exception is thrown if an error occours. In that case the {@link Channel} will be closed.
|
||||
*/
|
||||
protected abstract void initChannel(C ch) throws Exception;
|
||||
|
||||
|
@ -296,7 +296,7 @@ public abstract class AbstractNioChannel extends AbstractChannel {
|
||||
}
|
||||
|
||||
/**
|
||||
* Conect to the remote peer
|
||||
* Connect to the remote peer
|
||||
*/
|
||||
protected abstract boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception;
|
||||
|
||||
|
@ -98,7 +98,7 @@ public final class NioEventLoop extends SingleThreadEventLoop {
|
||||
|
||||
/**
|
||||
* Boolean that controls determines if a blocked Selector.select should
|
||||
* break out of its selection process. In our case we use a timeone for
|
||||
* break out of its selection process. In our case we use a timeout for
|
||||
* the select method and the select method will block for that time unless
|
||||
* waken up.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user