com.planet_ink.coffee_mud.core.intermud.packets
Class ChannelListen
java.lang.Object
com.planet_ink.coffee_mud.core.intermud.packets.Packet
com.planet_ink.coffee_mud.core.intermud.packets.ChannelListen
public class ChannelListen
- extends Packet
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.
|
Field Summary |
java.lang.String |
channel
|
java.lang.String |
onoff
|
| Fields inherited from class com.planet_ink.coffee_mud.core.intermud.packets.Packet |
CHAN_ADD, CHAN_EMOTE, CHAN_LISTEN, CHAN_MESSAGE, CHAN_REMOVE, CHAN_TARGET, CHAN_WHO_REP, CHAN_WHO_REQ, LOCATE_QUERY, LOCATE_REPLY, sender_mud, sender_name, target_mud, target_name, TELL, type, WHO_REPLY, WHO_REQUEST |
| Methods inherited from class com.planet_ink.coffee_mud.core.intermud.packets.Packet |
convertString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
channel
public java.lang.String channel
onoff
public java.lang.String onoff
ChannelListen
public ChannelListen()
ChannelListen
public ChannelListen(java.util.Vector v)
throws InvalidPacketException
- Throws:
InvalidPacketException
ChannelListen
public ChannelListen(int t,
java.lang.String chan,
java.lang.String setonoff)
send
public void send()
throws InvalidPacketException
- Overrides:
send in class Packet
- Throws:
InvalidPacketException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object