Class NettyConnection
java.lang.Object
com.swiftmq.swiftlet.net.Connection
com.swiftmq.impl.net.netty.scheduler.NettyConnection
public class NettyConnection
extends com.swiftmq.swiftlet.net.Connection
-
Field Summary
Fields inherited from class com.swiftmq.swiftlet.net.Connection
dnsResolve -
Constructor Summary
ConstructorsConstructorDescriptionNettyConnection(SwiftletContext ctx, io.netty.channel.socket.SocketChannel channel, boolean dnsResolve) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intgetPort()voidsetMetaData(com.swiftmq.swiftlet.net.ConnectionMetaData metaData) toString()Methods inherited from class com.swiftmq.swiftlet.net.Connection
getConnectTime, getInboundHandler, getInputActiveIndicator, getMetaData, getProtocolInputHandler, getProtocolOutputHandler, getUserObject, isClosed, isMarkedForClose, setConnectionListener, setInboundHandler, setMarkedForClose, setProtocolInputHandler, setProtocolOutputHandler, setUserObject
-
Constructor Details
-
NettyConnection
public NettyConnection(SwiftletContext ctx, io.netty.channel.socket.SocketChannel channel, boolean dnsResolve)
-
-
Method Details
-
getHostname
- Specified by:
getHostnamein classcom.swiftmq.swiftlet.net.Connection
-
getPort
public int getPort() -
setMetaData
public void setMetaData(com.swiftmq.swiftlet.net.ConnectionMetaData metaData) - Overrides:
setMetaDatain classcom.swiftmq.swiftlet.net.Connection
-
getInputStream
- Specified by:
getInputStreamin classcom.swiftmq.swiftlet.net.Connection
-
getOutputStream
- Specified by:
getOutputStreamin classcom.swiftmq.swiftlet.net.Connection
-
close
public void close()- Overrides:
closein classcom.swiftmq.swiftlet.net.Connection
-
toString
-