public class SSLAwareChannelHandler.ObjectChannelImpl extends Object implements ObjectChannel
Constructor and Description |
---|
ObjectChannelImpl(io.netty.channel.Channel channel) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InetAddress |
getLocalAddress() |
SocketAddress |
getRemoteAddress() |
boolean |
isOpen() |
Object |
read() |
Future<?> |
write(Object msg) |
public void close()
close
in interface ObjectChannel
public boolean isOpen()
isOpen
in interface ObjectChannel
public SocketAddress getRemoteAddress()
getRemoteAddress
in interface ObjectChannel
public InetAddress getLocalAddress()
getLocalAddress
in interface ObjectChannel
public Object read() throws IOException, ClassNotFoundException
read
in interface ObjectChannel
IOException
ClassNotFoundException
public Future<?> write(Object msg)
write
in interface ObjectChannel
Copyright © 2019. All rights reserved.