|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface has to be implemented by the classes, which want to receive events from the channels.
Method Summary | |
void |
emotion(java.lang.String channel,
java.lang.String from,
java.lang.String target,
java.lang.String emo)
method to send emotion |
void |
play(java.lang.String channel,
java.lang.String from,
java.lang.String audioKey)
method to invoke the playing procedure |
void |
receive(java.lang.String channel,
java.lang.String from,
java.lang.String message)
method to invoke the receiving procedure |
void |
ship(java.lang.String channel,
java.lang.String from,
java.lang.String receiver,
boolean status)
method ship is used for shiping |
void |
topicChanged(java.lang.String channel,
java.lang.String from,
java.lang.String topic)
method to pass topicChanged |
void |
whispreceive(java.lang.String channel,
java.lang.String from,
java.lang.String message)
method to invoke the whisper-receiving procedure |
Methods inherited from interface swpchat.server.ListenerBase |
getIdentifier |
Method Detail |
public void receive(java.lang.String channel, java.lang.String from, java.lang.String message)
channel
- the Channel in which the message should be distributedfrom
- the client's nick, which is sendingmessage
- the message to receivepublic void topicChanged(java.lang.String channel, java.lang.String from, java.lang.String topic)
channel
- the channel which distributes the topicChanged commandfrom
- the client's nick, who changed the topicaudioKey
- the topicpublic void play(java.lang.String channel, java.lang.String from, java.lang.String audioKey)
channel
- the channel which distributes the play commandfrom
- the client's nick, which is making noiseaudioKey
- the audio-file's associated audioKeypublic void whispreceive(java.lang.String channel, java.lang.String from, java.lang.String message)
channel
- the Channel in which the message should be distributedfrom
- the client's nick, which is whisperingmessage
- the message to receivepublic void emotion(java.lang.String channel, java.lang.String from, java.lang.String target, java.lang.String emo)
channel
- the channel which distributes the play commandfrom
- the client's nicktarget
- the target of the emotionemo
- the emotion to be sendpublic void ship(java.lang.String channel, java.lang.String from, java.lang.String receiver, boolean status)
channel
- the Channel in which the message should be distributedfrom
- the client's nick, which is sendingmessage
- the message to receivestatus
- on/off
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |