sashenka
Class User
java.lang.Object
|
+--sashenka.User
- All Implemented Interfaces:
- Destination, java.io.Serializable, Source
- Direct Known Subclasses:
- IRCUser
- public class User
- extends java.lang.Object
- implements Source, Destination, java.io.Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
User()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
protected User()
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
java.lang.Object failover)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
removeAttribute
public void removeAttribute(java.lang.String name)
sendOK
public boolean sendOK()
- Description copied from interface:
Destination
- Returns whether or not it is okay to send messages and traffic to
this destination.
- Specified by:
sendOK in interface Destination
isMute
public boolean isMute()
setMute
public void setMute(boolean mute)
mute
public void mute()
unmute
public void unmute()
isVerified
public boolean isVerified()
- Description copied from interface:
Source
- Return whether or not the source is a verified source.
I.e. has the user authenticated themselves via some mechanism.
- Specified by:
isVerified in interface Source
setVerified
public void setVerified(boolean verified)
verify
public void verify()
unverify
public void unverify()
isIgnored
public boolean isIgnored()
- Description copied from interface:
Source
- Return whether or not this source should be ignored.
Ignored sources are discarded as if the request was never received.
- Specified by:
isIgnored in interface Source
setIgnored
public void setIgnored(boolean ignore)
ignore
public void ignore()
unignore
public void unignore()