|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.remote.RemoteTrancheServerPerformanceListener
public class RemoteTrancheServerPerformanceListener
A listener than uses the ConnectionDiagnosticsLog to gather stats about a server.
Note that the ConnectionDiagnosticsLog can be shared between multiple listeners. This class is thread safe.
| Constructor Summary | |
|---|---|
RemoteTrancheServerPerformanceListener(ConnectionDiagnosticsLog connectionDiagnosticsLog,
java.lang.String host,
int id)
A listener than uses the ConnectionDiagnosticsLog to gather stats about a server. |
|
| Method Summary | |
|---|---|
void |
downMessageCompleted(ServerMessageDownEvent smde)
A notification that an inbound message has been completed. |
void |
downMessageFailed(ServerMessageDownEvent smde)
A notification that an inbound message has failed. |
void |
downMessageProgress(ServerMessageDownEvent smde)
A notification that an inbound message is being downloaded. |
void |
downMessageStarted(ServerMessageDownEvent smde)
A notification that an inbound message has been started. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
So can assert that RTS doesn't have already. |
void |
requestCreated(ServerCallbackEvent sce)
A notification that a server request has been created. |
void |
requestFailed(ServerCallbackEvent sce)
A notification that a server request has failed. |
void |
requestFulfilled(ServerCallbackEvent sce)
A notification that a server request has been fulfilled by the server. |
void |
serverBanned(ServerEvent se)
A notification that a server has been banned. |
void |
serverConnect(ServerEvent se)
A notification that a server has been connected to. |
void |
serverUnbanned(ServerEvent se)
A notification that a server has been unbanned. |
void |
upMessageCreated(ServerMessageUpEvent smue)
A notification that an outbound message has been created. |
void |
upMessageFailed(ServerMessageUpEvent smue)
A notification that an outbound message has failed. |
void |
upMessageSent(ServerMessageUpEvent smue)
A notification that an outbound message has been sent. |
void |
upMessageStarted(ServerMessageUpEvent smue)
A notification that an outbound message has started to be sent. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteTrancheServerPerformanceListener(ConnectionDiagnosticsLog connectionDiagnosticsLog,
java.lang.String host,
int id)
A listener than uses the ConnectionDiagnosticsLog to gather stats about a server.
Note that the ConnectionDiagnosticsLog can be shared between multiple listeners. This class is thread safe.
connectionDiagnosticsLog - host - id - | Method Detail |
|---|
public void serverConnect(ServerEvent se)
A notification that a server has been connected to.
serverConnect in interface RemoteTrancheServerListenerse - public void serverBanned(ServerEvent se)
A notification that a server has been banned.
serverBanned in interface RemoteTrancheServerListenerse - public void serverUnbanned(ServerEvent se)
A notification that a server has been unbanned.
serverUnbanned in interface RemoteTrancheServerListenerse - public void upMessageCreated(ServerMessageUpEvent smue)
A notification that an outbound message has been created.
upMessageCreated in interface RemoteTrancheServerListenersmue - public void upMessageStarted(ServerMessageUpEvent smue)
A notification that an outbound message has started to be sent.
upMessageStarted in interface RemoteTrancheServerListenersmue - public void upMessageSent(ServerMessageUpEvent smue)
A notification that an outbound message has been sent.
upMessageSent in interface RemoteTrancheServerListenersmue - public void upMessageFailed(ServerMessageUpEvent smue)
A notification that an outbound message has failed.
upMessageFailed in interface RemoteTrancheServerListenersmue - public void downMessageStarted(ServerMessageDownEvent smde)
A notification that an inbound message has been started.
downMessageStarted in interface RemoteTrancheServerListenersmde - public void downMessageProgress(ServerMessageDownEvent smde)
A notification that an inbound message is being downloaded.
downMessageProgress in interface RemoteTrancheServerListenersmde - public void downMessageCompleted(ServerMessageDownEvent smde)
A notification that an inbound message has been completed.
downMessageCompleted in interface RemoteTrancheServerListenersmde - public void downMessageFailed(ServerMessageDownEvent smde)
A notification that an inbound message has failed.
downMessageFailed in interface RemoteTrancheServerListenersmde - public void requestCreated(ServerCallbackEvent sce)
A notification that a server request has been created.
requestCreated in interface RemoteTrancheServerListenersce - public void requestFulfilled(ServerCallbackEvent sce)
A notification that a server request has been fulfilled by the server.
requestFulfilled in interface RemoteTrancheServerListenersce - public void requestFailed(ServerCallbackEvent sce)
A notification that a server request has failed.
requestFailed in interface RemoteTrancheServerListenersce - public int hashCode()
So can assert that RTS doesn't have already.
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||