net.sf.dict4j.entity
Class Banner

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.util.List<java.lang.String> getCapabilities()
           
 java.lang.String getMessageId()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Banner

public Banner(java.lang.String banner)
Method Detail

getMessageId

public java.lang.String getMessageId()

getText

public java.lang.String getText()

getCapabilities

public java.util.List<java.lang.String> getCapabilities()