com.planet_ink.coffee_mud.core.intermud.packets
Class Packet
java.lang.Object
com.planet_ink.coffee_mud.core.intermud.packets.Packet
- Direct Known Subclasses:
- ChannelAdd, ChannelDelete, ChannelListen, ChannelPacket, ChannelWhoReply, ChannelWhoRequest, LocateQueryPacket, LocateReplyPacket, TellPacket, WhoPacket
public class Packet
- extends java.lang.Object
Copyright (c) 1996 George Reese
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHAN_MESSAGE
public static final int CHAN_MESSAGE
- See Also:
- Constant Field Values
CHAN_EMOTE
public static final int CHAN_EMOTE
- See Also:
- Constant Field Values
CHAN_TARGET
public static final int CHAN_TARGET
- See Also:
- Constant Field Values
WHO_REQUEST
public static final int WHO_REQUEST
- See Also:
- Constant Field Values
WHO_REPLY
public static final int WHO_REPLY
- See Also:
- Constant Field Values
TELL
public static final int TELL
- See Also:
- Constant Field Values
LOCATE_QUERY
public static final int LOCATE_QUERY
- See Also:
- Constant Field Values
LOCATE_REPLY
public static final int LOCATE_REPLY
- See Also:
- Constant Field Values
CHAN_WHO_REQ
public static final int CHAN_WHO_REQ
- See Also:
- Constant Field Values
CHAN_WHO_REP
public static final int CHAN_WHO_REP
- See Also:
- Constant Field Values
CHAN_ADD
public static final int CHAN_ADD
- See Also:
- Constant Field Values
CHAN_REMOVE
public static final int CHAN_REMOVE
- See Also:
- Constant Field Values
CHAN_LISTEN
public static final int CHAN_LISTEN
- See Also:
- Constant Field Values
sender_mud
public java.lang.String sender_mud
sender_name
public java.lang.String sender_name
target_mud
public java.lang.String target_mud
target_name
public java.lang.String target_name
type
public int type
Packet
public Packet()
Packet
public Packet(java.util.Vector v)
convertString
public java.lang.String convertString(java.lang.String str)
send
public void send()
throws InvalidPacketException
- Throws:
InvalidPacketException