|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.indy.BaseComponent | +--org.indy.IndyComponent | +--org.indy.TCPServer
Description of the Class
Inner classes inherited from class org.indy.IndyComponent |
IndyComponent.WorkMode |
Constructor Summary | |
TCPServer()
Constructor for the TCPServer object |
Method Summary | |
void |
addBinding(TCPServerBinding b)
DOCUMENT ME! |
void |
addServerExecuteListener(TCPServerExecuteListener e)
Sets the executionListener attribute of the IdTCPServer object |
void |
addTCPServerListener(TCPServerListener l)
DOCUMENT ME! |
protected void |
doAfterCommandHandler(PeerThread thread)
Description of the Method |
protected void |
doBeforeCommandHandler(PeerThread thread,
java.lang.String line)
Description of the Method |
protected void |
doConnect(PeerThread thread)
Description of the Method |
protected void |
doDisconnect(PeerThread thread)
Description of the Method |
protected void |
doException(PeerThread thread,
IndyException exception)
Description of the Method |
protected boolean |
doExecute(PeerThread thread)
Description of the Method |
protected void |
doListenException(ListenerThread thread,
IndyException exception)
Description of the Method |
protected void |
doNoCommandHandler(PeerThread thread,
java.lang.String data)
Description of the Method |
TCPServerBinding |
getBinding(int index)
DOCUMENT ME! |
TCPServerBinding[] |
getBindings()
DOCUMENT ME! |
int |
getDefaultPort()
Gets the port attribute of the IdTCPServer object |
ServerIOHandler |
getIOHandler()
Gets the iOHandler attribute of the IdTCPServer object |
int |
getListenQueue()
DOCUMENT ME! |
RFCReply |
getMaxConnectionReply()
Gets the maxConnectionReply attribute of the IdTCPServer object |
int |
getMaxConnections()
Gets the maxConnections attribute of the IdTCPServer object |
RFCReplies |
getReplyTexts()
Gets the replyTexts attribute of the IdTCPServer object |
java.util.List |
getThreadList()
Gets the threadList attribute of the IdTCPServer object |
PeerThreadManager |
getThreadManager()
Gets the threadMgr attribute of the IdTCPServer object |
boolean |
isActive()
DOCUMENT ME! |
void |
removeBinding(TCPServerBinding b)
Adds a feature to the CommandHandlerListener attribute of the IdTCPServer object |
void |
removeServerExecuteListener(TCPServerExecuteListener e)
DOCUMENT ME! |
void |
removeTCPServerListener(TCPServerListener l)
DOCUMENT ME! |
void |
setActive(boolean makeActive)
Sets the active attribute of the IdTCPServer object |
void |
setDefaultPort(int newPort)
Sets the port attribute of the IdTCPServer object |
void |
setListenQueue(int listenQueue)
DOCUMENT ME! |
void |
setThreadManager(PeerThreadManager threadMgr)
Sets the threadMgr attribute of the IdTCPServer object |
Methods inherited from class org.indy.IndyComponent |
addComponentListener, doBeginWork, doBeginWork, doEndWork, doStatus, doStatus, doWork, getLocalName, removeComponentListener |
Methods inherited from class org.indy.BaseComponent |
getVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TCPServer()
Method Detail |
protected void doAfterCommandHandler(PeerThread thread)
thread
- Description of the Parameterprotected void doBeforeCommandHandler(PeerThread thread, java.lang.String line)
thread
- Description of the Parameterline
- Description of the Parameterprotected void doConnect(PeerThread thread)
thread
- Description of the Parameterprotected void doDisconnect(PeerThread thread)
thread
- Description of the Parameterprotected void doException(PeerThread thread, IndyException exception)
thread
- Description of the Parameterexception
- Description of the Parameterprotected boolean doExecute(PeerThread thread) throws IndyException
thread
- Description of the ParameterIndyException
- Description of the Exceptionprotected void doListenException(ListenerThread thread, IndyException exception)
thread
- Description of the Parameterexception
- Description of the Parameterprotected void doNoCommandHandler(PeerThread thread, java.lang.String data) throws TCPServerException
thread
- Description of the Parameterdata
- Description of the ParameterTCPServerException
- Description of the ExceptionIdTCPServerError
- Description of the Exceptionpublic void addBinding(TCPServerBinding b)
b
- DOCUMENT ME!public void removeBinding(TCPServerBinding b)
l
- The feature to be added to the CommandHandlerListener attributepublic void setActive(boolean makeActive) throws IndyIOException
active
- The new active valueIndyIOException
- Description of the Exceptionpublic void setDefaultPort(int newPort)
newPort
- The new port valuepublic void addServerExecuteListener(TCPServerExecuteListener e)
e
- The new executionListener valuepublic void removeServerExecuteListener(TCPServerExecuteListener e)
e
- DOCUMENT ME!public void setListenQueue(int listenQueue)
listenQueue
- DOCUMENT ME!public void setThreadManager(PeerThreadManager threadMgr)
threadMgr
- The new threadMgr valuepublic TCPServerBinding getBinding(int index)
index
- DOCUMENT ME!public TCPServerBinding[] getBindings()
public int getDefaultPort()
public ServerIOHandler getIOHandler()
public int getListenQueue()
public RFCReply getMaxConnectionReply()
public int getMaxConnections()
public RFCReplies getReplyTexts()
public java.util.List getThreadList()
public PeerThreadManager getThreadManager()
public boolean isActive()
public void removeTCPServerListener(TCPServerListener l)
l
- DOCUMENT ME!public void addTCPServerListener(TCPServerListener l)
l
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |