net.sf.dict4j.entity
Class Banner
java.lang.Object
net.sf.dict4j.entity.Banner
public class Banner
- extends java.lang.Object
When a client initially connects to a DICT server, a code 220 is sent if the client's IP is allowed to connect:
220 text capabilities msg-id
The code 220 is a banner, usually containing host name and DICT server version information.
Constructor Summary |
Banner(java.lang.String banner)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Banner
public Banner(java.lang.String banner)
getMessageId
public java.lang.String getMessageId()
getText
public java.lang.String getText()
getCapabilities
public java.util.List<java.lang.String> getCapabilities()