|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.servers.CommandLineServerListener
public class CommandLineServerListener
Prints out all server communication to a given PrintStream.
| Constructor Summary | |
|---|---|
CommandLineServerListener(java.io.PrintStream out)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineServerListener(java.io.PrintStream out)
out - | 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||