|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.chat.AbstractChannel org.xnap.plugin.limewire.LimeWireChatChannel
public class LimeWireChatChannel
Implements a limewire search session.
Field Summary |
---|
Fields inherited from class org.xnap.chat.AbstractChannel |
---|
cs |
Fields inherited from interface org.xnap.chat.Channel |
---|
AWAY_MESSAGE_INTERVAL |
Constructor Summary | |
---|---|
LimeWireChatChannel(com.limegroup.gnutella.chat.Chatter chatter)
|
Method Summary | |
---|---|
void |
close()
Invoked by the ChatManager when the channel is removed. |
javax.swing.Action[] |
getActions()
Returns an array of actions that can be performed on the channel. |
javax.swing.Action[] |
getPeerActions(Peer peer)
Returns an array of peer specific actions. |
ChatProvider |
getProvider()
Returns a reference to the chat provider. |
LimeWireServant |
getRemotePeer()
|
boolean |
isJoined()
Returns true, if the channel is joined. |
boolean |
isLocal(Peer peer)
Returns true, if peer is the local peer. |
void |
sendMessage(java.lang.String message)
Sends a message to this channel. |
Methods inherited from class org.xnap.chat.AbstractChannel |
---|
actionMessageReceived, add, addChannelListener, errorReceived, getCommands, getIcon, getName, getPeerCount, getPeers, getPrefix, getTopic, infoReceived, joined, messageReceived, parted, peerChanged, remove, removeChannelListener, setTopic, topicChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LimeWireChatChannel(com.limegroup.gnutella.chat.Chatter chatter)
Method Detail |
---|
public void close()
Channel
ChatManager
when the channel is removed.
xnap.chat.Channel#close()
public javax.swing.Action[] getActions()
Channel
xnap.chat.Channel#getActions()
public javax.swing.Action[] getPeerActions(Peer peer)
Channel
This can be used to implement channel operations like "op".
xnap.chat.Channel#getPeerActions(xnap.peer.Peer)
public ChatProvider getProvider()
Channel
xnap.chat.Channel#getProvider()
public LimeWireServant getRemotePeer()
public boolean isLocal(Peer peer)
Channel
peer is the local peer. XNap does
not beep if messages are received from local peers.
- See Also:
xnap.chat.Channel#isLocal(xnap.peer.Peer)
public boolean isJoined()
Channel
xnap.chat.Channel#isJoined()
public void sendMessage(java.lang.String message)
Channel
xnap.chat.Channel#sendMessage(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |