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.Default
Nested classes/interfaces inherited from interface org.jgrapes.io.IOSubchannel
IOSubchannel.DefaultIOSubchannel
Nested classes/interfaces inherited from interface org.jgrapes.core.Subchannel
Subchannel.DefaultSubchannel
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the connection is purgeable.Returns the local address.long
Returns since when the connection has become purgeable.Returns the remote address.Methods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associated, associatedGet, setAssociated
Methods inherited from interface org.jgrapes.io.IOSubchannel
byteBufferPool, charBufferPool, respond, responsePipeline
Methods 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
-