Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractReactiveServer - Class in io.activej.net
-
This is an implementation of
ReactiveServer. - AbstractReactiveServer(NioReactor) - Constructor for class io.activej.net.AbstractReactiveServer
- AbstractReactiveServer.AcceptFilter - Interface in io.activej.net
- AbstractReactiveServer.Builder<Self extends AbstractReactiveServer.Builder<Self,
S>, S extends AbstractReactiveServer> - Class in io.activej.net - acceptOnce - Variable in class io.activej.net.AbstractReactiveServer
B
- builder(NioReactor, WorkerServer...) - Static method in class io.activej.net.PrimaryServer
- builder(NioReactor, Iterable<? extends WorkerServer>) - Static method in class io.activej.net.PrimaryServer
- builder(NioReactor, Consumer<ITcpSocket>) - Static method in class io.activej.net.SimpleServer
- builder(NioReactor, List<? extends WorkerServer>) - Static method in class io.activej.net.PrimaryServer
- Builder() - Constructor for class io.activej.net.AbstractReactiveServer.Builder
C
- close() - Method in class io.activej.net.AbstractReactiveServer
- close() - Method in interface io.activej.net.ReactiveServer
-
Closes the server.
- close() - Method in interface io.activej.net.socket.udp.IUdpSocket
- close() - Method in class io.activej.net.socket.udp.UdpSocket
- closeEx(Exception) - Method in class io.activej.net.socket.tcp.SslTcpSocket
- closeEx(Exception) - Method in class io.activej.net.socket.tcp.TcpSocket
- closeFuture() - Method in class io.activej.net.AbstractReactiveServer
- closeServerSockets() - Method in class io.activej.net.AbstractReactiveServer
- connect(NioReactor, InetSocketAddress) - Static method in class io.activej.net.socket.tcp.TcpSocket
- connect(NioReactor, InetSocketAddress, long, SocketSettings) - Static method in class io.activej.net.socket.tcp.TcpSocket
- connect(NioReactor, InetSocketAddress, Duration, SocketSettings) - Static method in class io.activej.net.socket.tcp.TcpSocket
- connect(NioReactor, DatagramChannel) - Static method in class io.activej.net.socket.udp.UdpSocket
- create(NioReactor, ITcpSocket, SSLEngine, Executor) - Static method in class io.activej.net.socket.tcp.SslTcpSocket
D
- DEFAULT_READ_BUFFER_SIZE - Static variable in class io.activej.net.socket.tcp.TcpSocket
- doAccept(SocketChannel, InetSocketAddress, InetSocketAddress, boolean, SocketSettings) - Method in class io.activej.net.AbstractReactiveServer
- doAccept(SocketChannel, InetSocketAddress, InetSocketAddress, boolean, SocketSettings) - Method in interface io.activej.net.WorkerServer
- doBuild() - Method in class io.activej.net.AbstractReactiveServer.Builder
E
- ERROR_ON_CLOSE_WITHOUT_NOTIFY - Static variable in class io.activej.net.socket.tcp.SslTcpSocket
F
- filterAccept(SocketChannel, InetSocketAddress, InetAddress, boolean) - Method in interface io.activej.net.AbstractReactiveServer.AcceptFilter
G
- getAccepts() - Method in class io.activej.net.AbstractReactiveServer
- getAcceptsSsl() - Method in class io.activej.net.AbstractReactiveServer
- getActiveSockets() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getBoundAddresses() - Method in class io.activej.net.AbstractReactiveServer
-
The IP socket addresses
thisserver is bound to after it started listening. - getBuf() - Method in class io.activej.net.socket.udp.UdpPacket
-
Returns the data buffer to send or which was received
- getCloses() - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- getConnectionCount() - Static method in class io.activej.net.socket.tcp.TcpSocket
- getConnects() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getCreates() - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- getDisconnects() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getFilteredAccepts() - Method in class io.activej.net.AbstractReactiveServer
- getListenAddresses() - Method in class io.activej.net.AbstractReactiveServer
- getReadEndOfStreams() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getReadErrors() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getReads() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getReadTimeouts() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getReceiveErrors() - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- getReceives() - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- getRemoteAddress() - Method in class io.activej.net.socket.tcp.TcpSocket
- getSendErrors() - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- getSends() - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- getServerSocketSettings() - Method in class io.activej.net.AbstractReactiveServer
- getSocketAddress() - Method in class io.activej.net.socket.udp.UdpPacket
-
Returns the address to which the packet should be sent or from which it was received.
- getSocketChannel() - Method in class io.activej.net.socket.tcp.TcpSocket
- getSocketInspector(InetAddress, InetSocketAddress, boolean) - Method in class io.activej.net.AbstractReactiveServer
- getSocketSettings() - Method in class io.activej.net.AbstractReactiveServer
- getSocketStats() - Method in class io.activej.net.AbstractReactiveServer
- getSocketStatsSsl() - Method in class io.activej.net.AbstractReactiveServer
- getSslBoundAddresses() - Method in class io.activej.net.AbstractReactiveServer
-
The IP socket addresses
thisserver is bound to with SSL after it started listening. - getSslListenAddresses() - Method in class io.activej.net.AbstractReactiveServer
- getUserData() - Method in class io.activej.net.socket.tcp.TcpSocket
- getWorkerServer() - Method in class io.activej.net.AbstractReactiveServer
- getWorkerServer() - Method in class io.activej.net.PrimaryServer
- getWriteErrors() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getWriteOverloaded() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getWrites() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- getWriteTimeouts() - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
I
- io.activej.net - package io.activej.net
- io.activej.net.socket.tcp - package io.activej.net.socket.tcp
- io.activej.net.socket.udp - package io.activej.net.socket.udp
- isClosed() - Method in interface io.activej.net.socket.tcp.ITcpSocket
- isClosed() - Method in class io.activej.net.socket.tcp.SslTcpSocket
- isClosed() - Method in class io.activej.net.socket.tcp.TcpSocket
- isOpen() - Method in class io.activej.net.socket.udp.UdpSocket
- isReadAvailable() - Method in interface io.activej.net.socket.tcp.ITcpSocket
- isReadAvailable() - Method in class io.activej.net.socket.tcp.SslTcpSocket
- isReadAvailable() - Method in class io.activej.net.socket.tcp.TcpSocket
- isRunning() - Method in class io.activej.net.AbstractReactiveServer
- ITcpSocket - Interface in io.activej.net.socket.tcp
-
Common interface for connection-oriented transport protocols.
- IUdpSocket - Interface in io.activej.net.socket.udp
-
Common interface for datagram-oriented transport protocols.
J
- JmxInspector() - Constructor for class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- JmxInspector(Duration) - Constructor for class io.activej.net.socket.udp.UdpSocket.JmxInspector
L
- listen() - Method in class io.activej.net.AbstractReactiveServer
-
Begins listening asynchronously for incoming connections.
- listen() - Method in interface io.activej.net.ReactiveServer
-
Tells this server to start listening on its listen addresses.
- listenAddresses - Variable in class io.activej.net.AbstractReactiveServer
- logger - Variable in class io.activej.net.AbstractReactiveServer
N
- NO_TIMEOUT - Static variable in class io.activej.net.socket.tcp.TcpSocket
O
- of(ByteBuf, InetSocketAddress) - Static method in class io.activej.net.socket.udp.UdpPacket
-
Creates a new instance of UDP packet
- onAccept(SocketChannel, InetSocketAddress, InetAddress, boolean) - Method in class io.activej.net.AbstractReactiveServer
- onClose(UdpSocket) - Method in interface io.activej.net.socket.udp.UdpSocket.Inspector
- onClose(UdpSocket) - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- onClose(SettableCallback<Void>) - Method in class io.activej.net.AbstractReactiveServer
- onConnect(TcpSocket) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onConnect(TcpSocket) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onCreate(UdpSocket) - Method in interface io.activej.net.socket.udp.UdpSocket.Inspector
- onCreate(UdpSocket) - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- onDisconnect(TcpSocket) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onDisconnect(TcpSocket) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onFilteredAccept(SocketChannel, InetSocketAddress, InetAddress, boolean) - Method in class io.activej.net.AbstractReactiveServer
- onListen() - Method in class io.activej.net.AbstractReactiveServer
- onRead(TcpSocket, ByteBuf) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onRead(TcpSocket, ByteBuf) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onReadEndOfStream(TcpSocket) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onReadEndOfStream(TcpSocket) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onReadError(TcpSocket, IOException) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onReadError(TcpSocket, IOException) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onReadReady() - Method in class io.activej.net.socket.tcp.TcpSocket
- onReadReady() - Method in class io.activej.net.socket.udp.UdpSocket
- onReadTimeout(TcpSocket) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onReadTimeout(TcpSocket) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onReceive(UdpSocket, UdpPacket) - Method in interface io.activej.net.socket.udp.UdpSocket.Inspector
- onReceive(UdpSocket, UdpPacket) - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- onReceiveError(UdpSocket, IOException) - Method in interface io.activej.net.socket.udp.UdpSocket.Inspector
- onReceiveError(UdpSocket, IOException) - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- onSend(UdpSocket, UdpPacket) - Method in interface io.activej.net.socket.udp.UdpSocket.Inspector
- onSend(UdpSocket, UdpPacket) - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- onSendError(UdpSocket, IOException) - Method in interface io.activej.net.socket.udp.UdpSocket.Inspector
- onSendError(UdpSocket, IOException) - Method in class io.activej.net.socket.udp.UdpSocket.JmxInspector
- onWrite(TcpSocket, ByteBuf, int) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onWrite(TcpSocket, ByteBuf, int) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onWriteError(TcpSocket, IOException) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onWriteError(TcpSocket, IOException) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- onWriteReady() - Method in class io.activej.net.socket.tcp.TcpSocket
- onWriteReady() - Method in class io.activej.net.socket.udp.UdpSocket
- onWriteTimeout(TcpSocket) - Method in interface io.activej.net.socket.tcp.TcpSocket.Inspector
- onWriteTimeout(TcpSocket) - Method in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
P
- PrimaryServer - Class in io.activej.net
-
It is a simple balancer server, which dispatches its connections to its
WorkerServers. - PrimaryServer.Builder - Class in io.activej.net
R
- ReactiveServer - Interface in io.activej.net
-
Represents non-blocking server which listens to new connections and accepts them asynchronously.
- read() - Method in interface io.activej.net.socket.tcp.ITcpSocket
-
Operation to read some data from network.
- read() - Method in class io.activej.net.socket.tcp.SslTcpSocket
- read() - Method in class io.activej.net.socket.tcp.TcpSocket
- receive() - Method in interface io.activej.net.socket.udp.IUdpSocket
- receive() - Method in class io.activej.net.socket.udp.UdpSocket
- recycle() - Method in class io.activej.net.socket.udp.UdpPacket
-
Recycles data buffer.
S
- send(UdpPacket) - Method in interface io.activej.net.socket.udp.IUdpSocket
- send(UdpPacket) - Method in class io.activej.net.socket.udp.UdpSocket
- serve(ITcpSocket, InetAddress) - Method in class io.activej.net.AbstractReactiveServer
- serve(ITcpSocket, InetAddress) - Method in class io.activej.net.PrimaryServer
- serve(ITcpSocket, InetAddress) - Method in class io.activej.net.SimpleServer
- serverSocketSettings - Variable in class io.activej.net.AbstractReactiveServer
- setInspector(TcpSocket.Inspector) - Method in class io.activej.net.socket.tcp.TcpSocket
- setInspector(UdpSocket.Inspector) - Method in class io.activej.net.socket.udp.UdpSocket
- setReceiveBufferSize(int) - Method in class io.activej.net.socket.udp.UdpSocket
- setUserData(Object) - Method in class io.activej.net.socket.tcp.TcpSocket
-
Sets an arbitrary object as a user-defined context for this socket
- SimpleServer - Class in io.activej.net
-
This is a basic implementation of the
AbstractReactiveServerwhich just dispatches eachacync client connectionto a given consumer. - SimpleServer.Builder - Class in io.activej.net
- SMOOTHING_WINDOW - Static variable in class io.activej.net.socket.tcp.TcpSocket.JmxInspector
- socketSettings - Variable in class io.activej.net.AbstractReactiveServer
- sslListenAddresses - Variable in class io.activej.net.AbstractReactiveServer
- SslTcpSocket - Class in io.activej.net.socket.tcp
-
This is an SSL proxy around
ITcpSocket.
T
- TcpSocket - Class in io.activej.net.socket.tcp
- TcpSocket.Inspector - Interface in io.activej.net.socket.tcp
- TcpSocket.JmxInspector - Class in io.activej.net.socket.tcp
- toString() - Method in class io.activej.net.AbstractReactiveServer
- toString() - Method in class io.activej.net.PrimaryServer
- toString() - Method in class io.activej.net.socket.tcp.TcpSocket
- toString() - Method in class io.activej.net.socket.udp.UdpSocket
U
- UdpPacket - Class in io.activej.net.socket.udp
-
This class represents a UDP packet.
- UdpSocket - Class in io.activej.net.socket.udp
- UdpSocket.Inspector - Interface in io.activej.net.socket.udp
- UdpSocket.JmxInspector - Class in io.activej.net.socket.udp
W
- withAcceptFilter(AbstractReactiveServer.AcceptFilter) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withAcceptOnce() - Method in class io.activej.net.AbstractReactiveServer.Builder
- withAcceptOnce(boolean) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withListenAddress(InetSocketAddress) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withListenAddresses(InetSocketAddress...) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withListenAddresses(List<InetSocketAddress>) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withListenPort(int) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withLogger(Logger) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withServerSocketSettings(ServerSocketSettings) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSocketInspector(TcpSocket.Inspector) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSocketSettings(SocketSettings) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSocketSslInspector(TcpSocket.Inspector) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSslListenAddress(SSLContext, Executor, InetSocketAddress) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSslListenAddresses(SSLContext, Executor, InetSocketAddress...) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSslListenAddresses(SSLContext, Executor, List<InetSocketAddress>) - Method in class io.activej.net.AbstractReactiveServer.Builder
- withSslListenPort(SSLContext, Executor, int) - Method in class io.activej.net.AbstractReactiveServer.Builder
- WorkerServer - Interface in io.activej.net
-
This is an interface for a server that can be used in a
PrimaryServer. - wrapChannel(NioReactor, SocketChannel, SocketSettings) - Static method in class io.activej.net.socket.tcp.TcpSocket
- wrapChannel(NioReactor, SocketChannel, InetSocketAddress, SocketSettings) - Static method in class io.activej.net.socket.tcp.TcpSocket
- wrapClientSocket(NioReactor, ITcpSocket, String, int, SSLContext, Executor) - Static method in class io.activej.net.socket.tcp.SslTcpSocket
- wrapClientSocket(NioReactor, ITcpSocket, SSLContext, Executor) - Static method in class io.activej.net.socket.tcp.SslTcpSocket
- wrapServerSocket(NioReactor, ITcpSocket, SSLContext, Executor) - Static method in class io.activej.net.socket.tcp.SslTcpSocket
- write(ByteBuf) - Method in interface io.activej.net.socket.tcp.ITcpSocket
-
Operation to write some data to network.
- write(ByteBuf) - Method in class io.activej.net.socket.tcp.SslTcpSocket
- write(ByteBuf) - Method in class io.activej.net.socket.tcp.TcpSocket
All Classes and Interfaces|All Packages|Constant Field Values