private class AuditLogger.TCPConnection extends AuditLogger.ActiveConnection
Modifier and Type | Field and Description |
---|---|
(package private) ScheduledFuture<?> |
idleTimer |
(package private) OutputStream |
out |
(package private) Socket |
sock |
conn, remoteConn
Constructor and Description |
---|
TCPConnection(Connection conn,
Connection remoteConn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
private void |
closeSocket() |
(package private) void |
connect() |
private void |
onIdleTimerExpired() |
(package private) void |
sendMessage(DatagramPacket packet) |
private void |
startIdleTimer() |
private void |
stopIdleTimer() |
(package private) void |
trySendMessage(DatagramPacket packet) |
OutputStream out
ScheduledFuture<?> idleTimer
TCPConnection(Connection conn, Connection remoteConn)
void connect() throws IOException, IncompatibleConnectionException, GeneralSecurityException
void sendMessage(DatagramPacket packet) throws IOException, IncompatibleConnectionException, GeneralSecurityException
sendMessage
in class AuditLogger.ActiveConnection
IOException
IncompatibleConnectionException
GeneralSecurityException
void trySendMessage(DatagramPacket packet) throws IOException
IOException
private void startIdleTimer()
private void stopIdleTimer()
public void close()
private void closeSocket()
private void onIdleTimerExpired()
Copyright © 2017 dcm4che.org. All rights reserved.