public class IOServerConnection extends AbstractServerConnection
| Constructor and Description |
|---|
IOServerConnection(ServerContext serverCtx,
java.net.Socket socket,
StreamWrapper streamWrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getConnectionInfo() |
java.lang.String |
getHostAddress() |
java.lang.String |
getHostName() |
java.io.InputStream |
getReceiveStream() |
java.io.OutputStream |
getSendStream() |
boolean |
isClosed() |
boolean |
isConnected() |
void |
readClientDoneConfirmation()
Receives a dummy byte from the client which indicates, that the client has received
all data.
|
java.lang.Object |
readObject() |
void |
shutdownInput() |
void |
shutdownOutput() |
void |
writeObject(java.lang.Object obj) |
handleConnection, recordReadBytes, recordWrittenBytes, writeErrorcheckPermission, getServerConfig, getServerContext, getStatisticManager, toStringgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetServerContextpublic IOServerConnection(ServerContext serverCtx, java.net.Socket socket, StreamWrapper streamWrapper) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getConnectionInfo()
public boolean isConnected()
public java.lang.String getHostAddress()
public java.lang.String getHostName()
public java.lang.Object readObject()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeObject(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionpublic java.io.OutputStream getSendStream()
public java.io.InputStream getReceiveStream()
public boolean isClosed()
public void readClientDoneConfirmation()
throws java.io.IOException
java.io.IOExceptionpublic void shutdownInput()
throws java.io.IOException
java.io.IOExceptionpublic void shutdownOutput()
throws java.io.IOException
java.io.IOExceptionpublic void close()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.