public class ErrorPacket extends Packet
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
error_code |
|
java.lang.String |
error_message |
|
java.lang.String |
packetStr |
CHAN_ADD, CHAN_EMOTE, CHAN_LISTEN, CHAN_MESSAGE, CHAN_REMOVE, CHAN_TARGET, CHAN_USER_REP, CHAN_USER_REQ, CHAN_WHO_REP, CHAN_WHO_REQ, ERROR_PACKET, FINGER_REPLY, FINGER_REQUEST, LOCATE_QUERY, LOCATE_REPLY, MAUTH_REPLY, MAUTH_REQUEST, PING_PACKET, sender_mud, sender_name, SHUTDOWN, target_mud, target_name, TELL, type, UCACHE_UPDATE, WHO_REPLY, WHO_REQUEST
Constructor | Description |
---|---|
ErrorPacket() |
|
ErrorPacket(java.lang.String to_whom,
java.lang.String mud,
java.lang.String error_code,
java.lang.String error_message,
java.lang.String packetStr) |
|
ErrorPacket(java.util.Vector<?> v) |
Modifier and Type | Method | Description |
---|---|---|
void |
send() |
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
convertString
public java.lang.String error_code
public java.lang.String error_message
public java.lang.String packetStr
public ErrorPacket()
public ErrorPacket(java.lang.String to_whom, java.lang.String mud, java.lang.String error_code, java.lang.String error_message, java.lang.String packetStr)
public ErrorPacket(java.util.Vector<?> v) throws InvalidPacketException
InvalidPacketException
public void send() throws InvalidPacketException
send
in class Packet
InvalidPacketException
public java.lang.String toString()
toString
in class java.lang.Object