java.lang.Object
com.aoindustries.aoserv.master.AoservMaster
com.aoindustries.aoserv.master.TcpServer
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SslServer
The
TcpServer
accepts connections from an TcpConnector
.
Once the connection is accepted and authenticated, the server carries out all actions requested
by the client while providing the necessary security checks and data filters.
This server is completely threaded to handle multiple, simultaneous clients.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.master.AoservMaster
executorService, serverBind, serverPort
-
Method Summary
Methods inherited from class com.aoindustries.aoserv.master.AoservMaster
authenticate, checkAccessHostname, checkAccessHostname, getBindAddress, getFastRandom, getNextConnectorId, getPort, getRequestConcurrency, getRequestConnections, getRequestMaxConcurrency, getRequestTotalTime, getRequestTransactions, getSecureRandom, getService, getServices, getStartedServices, getStartTime, getUser, getUserHosts, getUsers, incConnectionCount, invalidateTable, invalidateTables, isHostAllowed, main, updateAoservProtocolLastUsed, writeObject, writeObjects, writeObjects, writeObjects, writeObjectsSynced, writePenniesCheckBusiness, writePenniesCheckBusiness
-
Field Details
-
thread
The thread that is listening.
-
-
Method Details
-
getProtocol
- Specified by:
getProtocol
in classAoservMaster
-
isSecure
Determines if communication on this server is secure.- Throws:
UnknownHostException
-
run
public void run()
-