Package jisa.visa.drivers
Class VISADriver.VISATCPIPConnection
- java.lang.Object
-
- jisa.visa.drivers.VISADriver.VISAConnection
-
- jisa.visa.drivers.VISADriver.VISATCPIPConnection
-
- All Implemented Interfaces:
Connection
,TCPIPConnection
- Enclosing class:
- VISADriver
public class VISADriver.VISATCPIPConnection extends VISADriver.VISAConnection implements TCPIPConnection
-
-
Field Summary
-
Fields inherited from class jisa.visa.drivers.VISADriver.VISAConnection
handle
-
-
Constructor Summary
Constructors Constructor Description VISATCPIPConnection(com.sun.jna.NativeLong viHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isKeepAlive()
void
setKeepAlive(boolean on)
-
Methods inherited from class jisa.visa.drivers.VISADriver.VISAConnection
clear, close, getAttributeLong, getAttributeString, getEncoding, readBytes, setAttribute, setEncoding, setReadTerminator, setTimeout, write, writeBytes
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.visa.connections.Connection
clear, close, getEncoding, read, read, readBytes, setEncoding, setReadTerminator, setReadTerminator, setTimeout, write, writeBytes
-
-
-
-
Method Detail
-
setKeepAlive
public void setKeepAlive(boolean on) throws VISAException
- Specified by:
setKeepAlive
in interfaceTCPIPConnection
- Throws:
VISAException
-
isKeepAlive
public boolean isKeepAlive() throws VISAException
- Specified by:
isKeepAlive
in interfaceTCPIPConnection
- Throws:
VISAException
-
-