it.m2.net.telnet
Class NVT
java.lang.Object
it.m2.net.telnet.Telnet
it.m2.net.telnet.NVT
- All Implemented Interfaces:
- TelnetOptions
- Direct Known Subclasses:
- NVTCom
public class NVT
- extends Telnet
Class to handle a BASIC RFC854 Network Virtual server
- Version:
- $Id: NVT.java,v 1.1 2009/07/15 20:40:51 bobh Exp $
- Author:
- Mario Viara
| Fields inherited from interface it.m2.net.telnet.TelnetOptions |
COM_PORT_OPTION, CR, DATASIZE5, DATASIZE6, DATASIZE7, DATASIZE8, DO, DONT, ECHO, FLOW_CTRL_DCD, FLOW_CTRL_DSR, FLOW_CTRL_DTR, FLOW_CTRL_IN_HARDWARE, FLOW_CTRL_IN_NONE, FLOW_CTRL_IN_XONXOFF, FLOWCONTROL_RESUME, FLOWCONTROL_SUSPEND, IAC, LF, MODEM_CTS, MODEM_DCD, MODEM_DCTS, MODEM_DDCD, MODEM_DDSR, MODEM_DRI, MODEM_DSR, MODEM_RI, NOP, NOTIFY_LINESTATE, NOTIFY_MODEMSTATE, PARITY_EVEN, PARITY_MARK, PARITY_NONE, PARITY_ODD, PARITY_SPACE, PURGE_DATA, REQUEST_INBOUND, SB, SE, SERVER_PREFIX, SET_BAUDRATE, SET_CONTROL, SET_DATASIZE, SET_LINESTATE_MASK, SET_MODEMSTATE_MASK, SET_PARITY, SET_STOPSIZE, SIGNATURE, STOP_1, STOP_15, STOP_2, SUPPRESS_GO_AHEAD, TERMINAL_TYPE, TERMINAL_TYPE_IS, TERMINAL_TYPE_SEND, TRASMIT_BINARY, WILL, WONT |
|
Constructor Summary |
NVT()
|
NVT(java.net.Socket socket)
|
NVT(java.lang.String name,
int port)
|
| Methods inherited from class it.m2.net.telnet.Telnet |
addLogger, addLogger, addLogger, addOption, available, close, flush, getInetAddress, getLocalOption, getLogLevel, getReceivedByteCount, getRemoteHost, getRemoteOption, getRemotePort, getSentByteCount, isDo, isLog, isWill, log, log, main, negotiate, read, read, read, releaseCpu, sendIAC, sendIAC, sendIACNOP, sendSB, sendSB, sendSB, sendSB, setDoOption, setLogLevel, setSocket, setSocket, setWillOption, setWillOption, updateReceivedByteCount, updateSentByteCount, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NVT
public NVT()
throws java.io.IOException
- Throws:
java.io.IOException
NVT
public NVT(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
NVT
public NVT(java.lang.String name,
int port)
throws java.io.IOException
- Throws:
java.io.IOException
isRunning
public boolean isRunning()
addReceivedListener
public void addReceivedListener(NVTListener listener)
setOptions
protected void setOptions()
throws java.io.IOException
- Overrides:
setOptions in class Telnet
- Throws:
java.io.IOException
setDefaults
protected void setDefaults()
throws java.io.IOException
- Overrides:
setDefaults in class Telnet
- Throws:
java.io.IOException
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.