public class TelnetSession extends AbstractTerminalSession
endString, finder, inputStream, outPutStream, regexp, socketTimeTimeout
host, port, sourceHost, sourcePort, timeout
Constructor and Description |
---|
TelnetSession(java.lang.String host,
int port)
Конструктор класса
|
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Закрывает соединение с удаленным хостом
|
protected void |
initConnection() |
connect, doCommand, doCommandAsync, doCommandWithoutEndSymbol, getEndString, getRegexp, getRegexpBufferSize, getSocketTimeTimeout, setEndString, setReadWait, setRegexp, setRegexp, setRegexpBufferSize, setSocketTimeTimeout
getTimeout, setTimeout
public TelnetSession(java.lang.String host, int port)
host
- адрес хостаport
- номер портаprotected void initConnection() throws java.io.IOException
initConnection
in class AbstractTerminalSession
java.io.IOException
public void disconnect() throws ru.bitel.bgbilling.common.BGException
disconnect
in class AbstractTerminalSession
ru.bitel.bgbilling.common.BGException