java.lang.Object
java.util.EventObject
org.relayirc.chatengine.ChannelEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ChannelEvent
- extends java.util.EventObject
Event fired by a channel. The source of a ChannelEvent is always
a Channel object.
|
Constructor Summary |
ChannelEvent(Channel src)
Event with no associated values. |
ChannelEvent(Channel src,
java.lang.Object value)
Event with an optional arbitrary value. |
ChannelEvent(Channel src,
java.lang.String originNick,
java.lang.String originAddress,
java.lang.Object value)
Event with originating user and an optional arbitrary value. |
ChannelEvent(Channel src,
java.lang.String originNick,
java.lang.String originAddress,
java.lang.String subjectNick,
java.lang.String subjectAddress,
java.lang.Object value)
Event with originating user, destination user and an optional
arbitrary value. |
_originNick
private java.lang.String _originNick
_originAddress
private java.lang.String _originAddress
_subjectNick
private java.lang.String _subjectNick
_subjectAddress
private java.lang.String _subjectAddress
_newNick
private java.lang.String _newNick
_value
private java.lang.Object _value
ChannelEvent
public ChannelEvent(Channel src)
- Event with no associated values.
ChannelEvent
public ChannelEvent(Channel src,
java.lang.Object value)
- Event with an optional arbitrary value.
ChannelEvent
public ChannelEvent(Channel src,
java.lang.String originNick,
java.lang.String originAddress,
java.lang.Object value)
- Event with originating user and an optional arbitrary value.
ChannelEvent
public ChannelEvent(Channel src,
java.lang.String originNick,
java.lang.String originAddress,
java.lang.String subjectNick,
java.lang.String subjectAddress,
java.lang.Object value)
- Event with originating user, destination user and an optional
arbitrary value.
getOriginNick
public java.lang.String getOriginNick()
- Nick name of the originating chat user or null if not applicable.
getOriginAddress
public java.lang.String getOriginAddress()
- Address of the originating chat user or null if not applicable.
getSubjectNick
public java.lang.String getSubjectNick()
- Nick name of the chat user or null if not applicable.
getSubjectAddress
public java.lang.String getSubjectAddress()
- Address of the destination chat user or null if not applicable.
getValue
public java.lang.Object getValue()
- Arbitrary value associated with event.