Package org.jgrapes.net
Interface SocketIOChannel
- All Superinterfaces:
Associator,Channel,Eligible,IOSubchannel,Subchannel
- All Known Implementing Classes:
SocketConnectionManager.SocketChannelImpl
A special sub channel used for socket connections.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.core.Channel
Channel.DefaultNested classes/interfaces inherited from interface org.jgrapes.io.IOSubchannel
IOSubchannel.DefaultIOSubchannelNested classes/interfaces inherited from interface org.jgrapes.core.Subchannel
Subchannel.DefaultSubchannel -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the connection is purgeable.Returns the local address.longReturns since when the connection has become purgeable.Returns the remote address.Methods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associated, associatedGet, setAssociatedMethods inherited from interface org.jgrapes.io.IOSubchannel
byteBufferPool, charBufferPool, respond, responsePipelineMethods inherited from interface org.jgrapes.core.Subchannel
defaultCriterion, isEligibleFor, mainChannel
-
Method Details
-
localAddress
Returns the local address.- Returns:
- the socket address
-
remoteAddress
Returns the remote address.- Returns:
- the socket address
-
isPurgeable
boolean isPurgeable()Checks if the connection is purgeable.- Returns:
- true, if is purgeable
-
purgeableSince
long purgeableSince()Returns since when the connection has become purgeable.- Returns:
- the timestamp
-