org.xnap.plugin.opennap.net.msg.server
Class ServerMessage
java.lang.Object
org.xnap.plugin.opennap.net.msg.Message
org.xnap.plugin.opennap.net.msg.server.ServerMessage
- Direct Known Subclasses:
- AcceptFailedMessage, AddUserToIgnoreListMessage, AllChannelListEntryMessage, AltDownloadAckMessage, BlockedFileMessage, BrowseResponseMessage, ChannelBanListEntryMessage, ChannelListEntryMessage, ChannelListMessage, ChannelTopicMessage, ChannelUserListEntryMessage, ClientDisconnectMessage, ClientStatisticsMessage, DataPortErrorMessage, DirectBrowseAckMessage, DirectBrowseErrorMessage, DirectBrowseRequestMessage, DownloadAckMessage, EmoteMessage, EndAllChannelListMessage, EndBrowseMessage, EndChannelBanListMessage, EndChannelListMessage, EndChannelUserListMessage, EndSearchMessage, ErrorMessage, GetErrorMessage, GlobalMessage, HotlistAckMessage, HotlistErrorMessage, InvalidNickMessage, JoinAckMessage, JoinMessage, LoginAckMessage, LoginAttemptMessage, LoginErrorMessage, MotdMessage, NickAlreadyRegisteredMessage, NickNotRegisteredMessage, OperatorMessage, PartChannelMessage, PingMessage, PingUserMessage, PongUserMessage, PrivateMessage, PublicMessage, QueueLimitMessage, RedirectClientMessage, SearchResponseMessage, ServerLinksMessage, ServerPingMessage, ServerStatisticsMessage, ServerStatsMessage, UnshareAllFilesMessage, UploadRequestMessage, UserPartedChannelMessage, UserSignoffMessage, UserSignonMessage, WhoisResponseMessage, WhowasResponseMessage
public class ServerMessage
- extends Message
Fields inherited from class org.xnap.plugin.opennap.net.msg.Message |
type |
Constructor Summary |
protected |
ServerMessage(int type,
java.lang.String data,
int argc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
server
protected OpenNapServer server
data
protected java.lang.String data
consumed
protected boolean consumed
ServerMessage
protected ServerMessage(int type,
java.lang.String data,
int argc)
throws InvalidMessageException
- Throws:
InvalidMessageException
received
public void received()
- Tell message to handle itself.
consume
public void consume()
- OvernetMessage can be consumed: if the right listener gets the message, he
consumes it and the other listeners won't get it.
isConsumed
public boolean isConsumed()
- See if message is already consumed.
getServer
public OpenNapServer getServer()
setServer
public void setServer(OpenNapServer newValue)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
parse
protected void parse(QuotedStringTokenizer t)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2001-2005 XNap Team. All Rights Reserved.