|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NioSession | |
---|---|
org.apache.mina.transport.socket.nio | Socket (TCP/IP) and Datagram (UDP/IP) support based on Java NIO (New I/O) API. |
Uses of NioSession in org.apache.mina.transport.socket.nio |
---|
Methods in org.apache.mina.transport.socket.nio that return NioSession | |
---|---|
protected NioSession |
NioSocketAcceptor.accept(IoProcessor<NioSession> processor,
ServerSocketChannel handle)
Accept a client connection for a server socket and return a new IoSession
associated with the given IoProcessor |
protected NioSession |
NioDatagramConnector.newSession(IoProcessor<NioSession> processor,
DatagramChannel handle)
|
protected NioSession |
NioDatagramAcceptor.newSession(IoProcessor<NioSession> processor,
DatagramChannel handle,
SocketAddress remoteAddress)
|
protected NioSession |
NioSocketConnector.newSession(IoProcessor<NioSession> processor,
SocketChannel handle)
Create a new IoSession from a connected socket client handle. |
NioSession |
NioProcessor.IoSessionIterator.next()
|
Methods in org.apache.mina.transport.socket.nio that return types with arguments of type NioSession | |
---|---|
protected Iterator<NioSession> |
NioProcessor.allSessions()
|
protected Iterator<NioSession> |
NioProcessor.selectedSessions()
|
Methods in org.apache.mina.transport.socket.nio with parameters of type NioSession | |
---|---|
protected void |
NioProcessor.destroy(NioSession session)
|
protected void |
NioProcessor.init(NioSession session)
|
protected boolean |
NioProcessor.isInterestedInRead(NioSession session)
|
protected boolean |
NioProcessor.isInterestedInWrite(NioSession session)
|
protected boolean |
NioProcessor.isReadable(NioSession session)
|
protected boolean |
NioProcessor.isWritable(NioSession session)
|
protected int |
NioProcessor.read(NioSession session,
IoBuffer buf)
|
protected int |
NioDatagramAcceptor.send(NioSession session,
IoBuffer buffer,
SocketAddress remoteAddress)
|
protected void |
NioProcessor.setInterestedInRead(NioSession session,
boolean value)
|
protected void |
NioProcessor.setInterestedInWrite(NioSession session,
boolean value)
|
protected void |
NioDatagramAcceptor.setInterestedInWrite(NioSession session,
boolean interested)
|
protected AbstractPollingIoProcessor.SessionState |
NioProcessor.state(NioSession session)
|
protected int |
NioProcessor.transferFile(NioSession session,
FileRegion region,
int length)
|
protected int |
NioProcessor.write(NioSession session,
IoBuffer buf,
int length)
|
Method parameters in org.apache.mina.transport.socket.nio with type arguments of type NioSession | |
---|---|
protected NioSession |
NioSocketAcceptor.accept(IoProcessor<NioSession> processor,
ServerSocketChannel handle)
Accept a client connection for a server socket and return a new IoSession
associated with the given IoProcessor |
protected NioSession |
NioDatagramConnector.newSession(IoProcessor<NioSession> processor,
DatagramChannel handle)
|
protected NioSession |
NioDatagramAcceptor.newSession(IoProcessor<NioSession> processor,
DatagramChannel handle,
SocketAddress remoteAddress)
|
protected NioSession |
NioSocketConnector.newSession(IoProcessor<NioSession> processor,
SocketChannel handle)
Create a new IoSession from a connected socket client handle. |
Constructor parameters in org.apache.mina.transport.socket.nio with type arguments of type NioSession | |
---|---|
NioDatagramConnector(IoProcessor<NioSession> processor)
Creates a new instance. |
|
NioSocketAcceptor(Executor executor,
IoProcessor<NioSession> processor)
Constructor for NioSocketAcceptor with a given Executor for handling
connection events and a given IoProcessor for handling I/O events, useful for
sharing the same processor and executor over multiple IoService of the same type. |
|
NioSocketAcceptor(IoProcessor<NioSession> processor)
Constructor for NioSocketAcceptor with default configuration but a
specific IoProcessor , useful for sharing the same processor over multiple
IoService of the same type. |
|
NioSocketConnector(Executor executor,
IoProcessor<NioSession> processor)
Constructor for NioSocketConnector with a given Executor for handling
connection events and a given IoProcessor for handling I/O events, useful for sharing
the same processor and executor over multiple IoService of the same type. |
|
NioSocketConnector(IoProcessor<NioSession> processor)
Constructor for NioSocketConnector with default configuration but a
specific IoProcessor , useful for sharing the same processor over multiple
IoService of the same type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |