public class TelnetSession extends AbstractTerminalSession
endString, finder, inputStream, outPutStream, regexp, socketTimeTimeouthost, 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, setSocketTimeTimeoutgetTimeout, setTimeoutpublic TelnetSession(java.lang.String host,
int port)
host - адрес хостаport - номер портаprotected void initConnection()
throws java.io.IOException
initConnection in class AbstractTerminalSessionjava.io.IOExceptionpublic void disconnect()
throws ru.bitel.bgbilling.common.BGException
disconnect in class AbstractTerminalSessionru.bitel.bgbilling.common.BGException