org.tranche.remote
Interface RemoteTrancheServerListener

All Known Implementing Classes:
CommandLineServerListener, RemoteTrancheServerPerformanceListener, ServerAdapter

public interface RemoteTrancheServerListener

A listener for monitoring client-server communication.

Author:
James "Augie" Hill - augman85@gmail.com

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.
 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.
 

Method Detail

serverConnect

void serverConnect(ServerEvent se)

A notification that a server has been connected to.

Parameters:
se -

serverBanned

void serverBanned(ServerEvent se)

A notification that a server has been banned.

Parameters:
se -

serverUnbanned

void serverUnbanned(ServerEvent se)

A notification that a server has been unbanned.

Parameters:
se -

upMessageCreated

void upMessageCreated(ServerMessageUpEvent smue)

A notification that an outbound message has been created.

Parameters:
smue -

upMessageStarted

void upMessageStarted(ServerMessageUpEvent smue)

A notification that an outbound message has started to be sent.

Parameters:
smue -

upMessageSent

void upMessageSent(ServerMessageUpEvent smue)

A notification that an outbound message has been sent.

Parameters:
smue -

upMessageFailed

void upMessageFailed(ServerMessageUpEvent smue)

A notification that an outbound message has failed.

Parameters:
smue -

downMessageStarted

void downMessageStarted(ServerMessageDownEvent smde)

A notification that an inbound message has been started.

Parameters:
smde -

downMessageProgress

void downMessageProgress(ServerMessageDownEvent smde)

A notification that an inbound message is being downloaded.

Parameters:
smde -

downMessageCompleted

void downMessageCompleted(ServerMessageDownEvent smde)

A notification that an inbound message has been completed.

Parameters:
smde -

downMessageFailed

void downMessageFailed(ServerMessageDownEvent smde)

A notification that an inbound message has failed.

Parameters:
smde -

requestCreated

void requestCreated(ServerCallbackEvent sce)

A notification that a server request has been created.

Parameters:
sce -

requestFulfilled

void requestFulfilled(ServerCallbackEvent sce)

A notification that a server request has been fulfilled by the server.

Parameters:
sce -

requestFailed

void requestFailed(ServerCallbackEvent sce)

A notification that a server request has failed.

Parameters:
sce -


This code is free for use both commercially and non-commercially as stated in the project's license