sashenka.irc
Class Server
java.lang.Object
|
+--sashenka.irc.Server
- All Implemented Interfaces:
- Destination, Source
- public class Server
- extends java.lang.Object
- implements Source, Destination
|
Field Summary |
java.lang.String |
name
|
|
Constructor Summary |
Server(java.lang.String s)
|
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
isIgnored()
Return whether or not this source should be ignored. |
boolean |
isVerified()
Return whether or not the source is a verified source. |
boolean |
sendOK()
Returns whether or not it is okay to send messages and traffic to
this destination. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
public java.lang.String name
Server
public Server(java.lang.String s)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
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
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
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
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object