public abstract class ServerConnectionService extends AbstractServerObject<ServerContext>
Constructor and Description |
---|
ServerConnectionService(ServerContext serverCtx,
StreamWrapper streamWrapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract AbstractServerTask<ServerContext> |
createServiceTask() |
int |
getPort() |
protected StreamWrapper |
getStreamWrapper() |
void |
start()
Starts listening on the data server port
|
checkPermission, getServerConfig, getServerContext, getStatisticManager, toString
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
public ServerConnectionService(ServerContext serverCtx, StreamWrapper streamWrapper)
public final int getPort()
protected final StreamWrapper getStreamWrapper()
public void start() throws java.lang.Exception
java.lang.Exception
- if the serviceTask could not be submittedpublic void close()
protected abstract AbstractServerTask<ServerContext> createServiceTask()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.