public interface ConnectionLogger
ConnectionLogger
instance is not reconnectable.Modifier and Type | Interface and Description |
---|---|
static interface |
ConnectionLogger.ConnectionCloser
Interface that gives you control over underlying connection.
|
static interface |
ConnectionLogger.Factory
Factory for connection logger.
|
static interface |
ConnectionLogger.StreamListener
Listens to stream data traffic.
|
Modifier and Type | Method and Description |
---|---|
ConnectionLogger.StreamListener |
getIncomingStreamListener() |
ConnectionLogger.StreamListener |
getOutgoingStreamListener() |
void |
handleEos()
Notifies logger that EOS has been received from remote.
|
void |
setConnectionCloser(ConnectionLogger.ConnectionCloser connectionCloser)
Connection may allow the logger to close it.
|
void |
start()
Notifies logger that actual transmission is starting.
|
ConnectionLogger.StreamListener getIncomingStreamListener()
ConnectionLogger.StreamListener getOutgoingStreamListener()
void setConnectionCloser(ConnectionLogger.ConnectionCloser connectionCloser)
void start()
handleEos()
is guaranteed to be called.void handleEos()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.