| Package | Description |
|---|---|
| org.sfj |
| Modifier and Type | Method and Description |
|---|---|
PojoClientServer.SingleConnection |
PojoClientServer.Client.createOutgoingClient(InetSocketAddress dest,
int connectTimeout)
Create a managed outgoing client.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<PojoClientServer.SingleConnection> |
PojoClientServer.Server.getConnections()
Return current connections, in no particular order.
|
| Constructor and Description |
|---|
Server(String name,
int listenPort,
Consumer<PojoClientServer.SingleConnection> callback)
Constructor for a server object.
|
Server(String name,
int listenPort,
org.sfj.PojoClientServer.Encoder encoder,
org.sfj.PojoClientServer.Decoder decoder,
Consumer<PojoClientServer.SingleConnection> callback)
Constructor for a server object.
|
SingleConnection(int id,
Socket client,
org.sfj.PojoClientServer.Encoder encoder,
org.sfj.PojoClientServer.Decoder decoder,
Consumer<PojoClientServer.SingleConnection> onClose) |
Copyright © 2020. All rights reserved.