class VmPipeSession extends AbstractIoSession
IoSession for in-VM transport (VM_PIPE).| Modifier and Type | Field and Description |
|---|---|
private VmPipeFilterChain |
filterChain |
private VmPipeAddress |
localAddress |
private java.util.concurrent.locks.Lock |
lock |
(package private) static TransportMetadata |
METADATA |
(package private) java.util.concurrent.BlockingQueue<java.lang.Object> |
receivedMessageQueue
Package protected
|
private VmPipeAddress |
remoteAddress |
private VmPipeSession |
remoteSession |
private VmPipeAddress |
serviceAddress |
private IoServiceListenerSupport |
serviceListeners |
config| Modifier | Constructor and Description |
|---|---|
(package private) |
VmPipeSession(IoService service,
IoServiceListenerSupport serviceListeners,
VmPipeAddress localAddress,
IoHandler handler,
VmPipe remoteEntry) |
private |
VmPipeSession(VmPipeSession remoteSession,
VmPipe entry) |
| Modifier and Type | Method and Description |
|---|---|
VmPipeSessionConfig |
getConfig() |
IoFilterChain |
getFilterChain() |
VmPipeAddress |
getLocalAddress()
Returns the socket address of local machine which is associated with this
session.
|
(package private) java.util.concurrent.locks.Lock |
getLock() |
IoProcessor<VmPipeSession> |
getProcessor() |
VmPipeAddress |
getRemoteAddress()
Returns the socket address of remote peer.
|
VmPipeSession |
getRemoteSession() |
VmPipeAddress |
getServiceAddress()
Returns the socket address of the
IoService listens to to manage
this session. |
(package private) IoServiceListenerSupport |
getServiceListeners() |
TransportMetadata |
getTransportMetadata() |
(package private) WriteRequestQueue |
getWriteRequestQueue0() |
(package private) void |
increaseWrittenBytes0(int increment,
long currentTime) |
close, close, containsAttribute, decreaseReadBufferSize, decreaseScheduledBytesAndMessages, equals, getAttachment, getAttribute, getAttribute, getAttributeKeys, getAttributeMap, getBothIdleCount, getCloseFuture, getCreationTime, getCurrentWriteMessage, getCurrentWriteRequest, getHandler, getId, getIdleCount, getLastBothIdleTime, getLastIdleTime, getLastIoTime, getLastReaderIdleTime, getLastReadTime, getLastWriterIdleTime, getLastWriteTime, getReadBytes, getReadBytesThroughput, getReaderIdleCount, getReadMessages, getReadMessagesThroughput, getScheduledWriteBytes, getScheduledWriteMessages, getService, getWriteRequestQueue, getWriterIdleCount, getWrittenBytes, getWrittenBytesThroughput, getWrittenMessages, getWrittenMessagesThroughput, hashCode, increaseIdleCount, increaseReadBufferSize, increaseReadBytes, increaseReadMessages, increaseScheduledWriteBytes, increaseScheduledWriteMessages, increaseWrittenBytes, increaseWrittenMessages, isBothIdle, isClosing, isConnected, isIdle, isReaderIdle, isReadSuspended, isScheduledForFlush, isSecured, isWriterIdle, isWriteSuspended, notifyIdleness, notifyIdleSession, offerClosedReadFuture, offerFailedReadFuture, offerReadFuture, read, removeAttribute, removeAttribute, replaceAttribute, resumeRead, resumeWrite, scheduledForFlush, setAttachment, setAttribute, setAttribute, setAttributeIfAbsent, setAttributeIfAbsent, setAttributeMap, setCurrentWriteRequest, setScheduledForFlush, setScheduledWriteBytes, setScheduledWriteMessages, setWriteRequestQueue, suspendRead, suspendWrite, toString, unscheduledForFlush, updateThroughput, write, writestatic final TransportMetadata METADATA
private final IoServiceListenerSupport serviceListeners
private final VmPipeAddress localAddress
private final VmPipeAddress remoteAddress
private final VmPipeAddress serviceAddress
private final VmPipeFilterChain filterChain
private final VmPipeSession remoteSession
private final java.util.concurrent.locks.Lock lock
final java.util.concurrent.BlockingQueue<java.lang.Object> receivedMessageQueue
VmPipeSession(IoService service, IoServiceListenerSupport serviceListeners, VmPipeAddress localAddress, IoHandler handler, VmPipe remoteEntry)
private VmPipeSession(VmPipeSession remoteSession, VmPipe entry)
public IoProcessor<VmPipeSession> getProcessor()
getProcessor in class AbstractIoSessionIoServiceListenerSupport getServiceListeners()
public VmPipeSessionConfig getConfig()
AbstractIoSessiongetConfig in interface IoSessiongetConfig in class AbstractIoSessionpublic IoFilterChain getFilterChain()
public VmPipeSession getRemoteSession()
public TransportMetadata getTransportMetadata()
TransportMetadata that this session runs on.public VmPipeAddress getRemoteAddress()
IoSessionpublic VmPipeAddress getLocalAddress()
IoSessionpublic VmPipeAddress getServiceAddress()
AbstractIoSessionIoService listens to to manage
this session. If this session is managed by IoAcceptor, it
returns the SocketAddress which is specified as a parameter of
IoAcceptor.bind(). If this session is managed by
IoConnector, this method returns the same address with
that of IoSession.getRemoteAddress().getServiceAddress in interface IoSessiongetServiceAddress in class AbstractIoSessionvoid increaseWrittenBytes0(int increment,
long currentTime)
WriteRequestQueue getWriteRequestQueue0()
java.util.concurrent.locks.Lock getLock()