A B C D E F G H I M N P R S T U W 
All Classes All Packages

A

AbstractSocketServer - Class in com.metratec.lib.connection.server
 
AbstractSocketServer() - Constructor for class com.metratec.lib.connection.server.AbstractSocketServer
 
AbstractTcpConnection - Class in com.metratec.lib.connection
Represents tcp connections
AbstractTcpConnection(Socket) - Constructor for class com.metratec.lib.connection.AbstractTcpConnection
 
AbstractTcpConnection(Socket, boolean) - Constructor for class com.metratec.lib.connection.AbstractTcpConnection
 
Action - Class in com.metratec.lib.upnp
Class to represent an UPnP action.
Action(String, Service) - Constructor for class com.metratec.lib.upnp.Action
Creates an instance of an action.
addVIDPID(int, int) - Static method in class com.metratec.lib.connection.UsbConnection
Add VID/PID pair to the list of supported USB devices.
Argument - Class in com.metratec.lib.upnp
Class to represent an UPnP service argument.
Argument(String) - Constructor for class com.metratec.lib.upnp.Argument
 

B

BasicAuthentication - Class in com.metratec.lib.auth
Helper class to generate the basic authorization header.
BasicAuthentication() - Constructor for class com.metratec.lib.auth.BasicAuthentication
 

C

CallAction - Class in com.metratec.lib.upnp
Class allows a control point to execute an UPnP action.
CallAction(Action, int) - Constructor for class com.metratec.lib.upnp.CallAction
Create an instance of this class.
clientConnected(ICommConnection) - Method in interface com.metratec.lib.connection.server.ClientConnectionListener
Called if a new client has connected
ClientConnectionListener - Interface in com.metratec.lib.connection.server
 
com.metratec.lib.auth - package com.metratec.lib.auth
 
com.metratec.lib.connection - package com.metratec.lib.connection
 
com.metratec.lib.connection.server - package com.metratec.lib.connection.server
 
com.metratec.lib.upnp - package com.metratec.lib.upnp
 
CommConnectionException - Exception in com.metratec.lib.connection
The Exception Class for the communication interfaces
CommConnectionException() - Constructor for exception com.metratec.lib.connection.CommConnectionException
Constructs a new communication exception.
CommConnectionException(int) - Constructor for exception com.metratec.lib.connection.CommConnectionException
Constructs a new communication exception with the specified error code.
CommConnectionException(int, String) - Constructor for exception com.metratec.lib.connection.CommConnectionException
Constructs a new communication exception with the specified detail message and error code.
CommConnectionException(String) - Constructor for exception com.metratec.lib.connection.CommConnectionException
Constructs a new communication exception with the specified detail message.
compareTo(EthernetDevice) - Method in class com.metratec.lib.connection.EthernetDevice
Compare this device to other device.
compareTo(Device) - Method in class com.metratec.lib.upnp.Device
Compare this device to another device.
connect() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
connect() - Method in class com.metratec.lib.connection.FileConnection
This method opens a connection.
connect() - Method in class com.metratec.lib.connection.ICommConnection
This method opens a connection.
connect() - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
 
connect() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
connect() - Method in class com.metratec.lib.connection.PrinterConnection
 
connect() - Method in class com.metratec.lib.connection.Rs232Connection
 
connect() - Method in class com.metratec.lib.connection.UsbConnection
 
CONNECTION_LOST - Static variable in class com.metratec.lib.connection.ICommConnection
lost the connection

D

dataAvailable() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
dataAvailable() - Method in class com.metratec.lib.connection.FileConnection
 
dataAvailable() - Method in class com.metratec.lib.connection.ICommConnection
 
dataAvailable() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
dataAvailable() - Method in class com.metratec.lib.connection.PrinterConnection
 
dataAvailable() - Method in class com.metratec.lib.connection.Rs232Connection
 
dataAvailable() - Method in class com.metratec.lib.connection.UsbConnection
 
Device - Class in com.metratec.lib.upnp
Class to represent an UPnP device.
Device(InetAddress) - Constructor for class com.metratec.lib.upnp.Device
 
DEVICE_IN_USE - Static variable in class com.metratec.lib.connection.ICommConnection
device is in use, could no connect
DeviceDescription - Class in com.metratec.lib.upnp
Class to represent an UPnP device description.
DeviceDescription(String) - Constructor for class com.metratec.lib.upnp.DeviceDescription
Fetches the device description from the provided URL.
DigestRequest - Class in com.metratec.lib.auth
Class for parsing the digest authentication challenge.
DigestRequest(String) - Constructor for class com.metratec.lib.auth.DigestRequest
 
DigestResponse - Class in com.metratec.lib.auth
Class to generate response header for digest authentication.
DigestResponse(DigestRequest) - Constructor for class com.metratec.lib.auth.DigestResponse
 
disconnect() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
disconnect() - Method in class com.metratec.lib.connection.FileConnection
 
disconnect() - Method in class com.metratec.lib.connection.ICommConnection
Closes the communication interface
disconnect() - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
 
disconnect() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
disconnect() - Method in class com.metratec.lib.connection.PrinterConnection
 
disconnect() - Method in class com.metratec.lib.connection.Rs232Connection
 
disconnect() - Method in class com.metratec.lib.connection.UsbConnection
 
discover() - Method in class com.metratec.lib.upnp.Discovery
Sends UPnP discovery packets to the UPnP multicast address and parses the responses.
Discovery - Class in com.metratec.lib.upnp
This class allows a control point to search for devices of interest on the network.
Discovery() - Constructor for class com.metratec.lib.upnp.Discovery
Default constructor.
Discovery(int) - Constructor for class com.metratec.lib.upnp.Discovery
 
Discovery(int, String...) - Constructor for class com.metratec.lib.upnp.Discovery
 

E

equals(Object) - Method in class com.metratec.lib.connection.EthernetDevice
Compare to another ethernet device.
equals(Object) - Method in class com.metratec.lib.upnp.Device
 
ETHERNET_TIMEOUT - Static variable in class com.metratec.lib.connection.ICommConnection
Ethernet connection timeout
ETHERNET_UNKNOWN_HOST - Static variable in class com.metratec.lib.connection.ICommConnection
host not found
EthernetDevice - Class in com.metratec.lib.connection
Class for an ethernet device
EthernetDevice() - Constructor for class com.metratec.lib.connection.EthernetDevice
Constructs a new Ethernet device.
EthernetDevice(String, String, String, boolean) - Constructor for class com.metratec.lib.connection.EthernetDevice
Constructs a new Ethernet device with the specific parameters.
execute() - Method in class com.metratec.lib.upnp.CallAction
Executes the action and returns the output arguments.

F

FileConnection - Class in com.metratec.lib.connection
This is an implementation of ICommConnection that relies only on standard JRE file APIs.
FileConnection(String) - Constructor for class com.metratec.lib.connection.FileConnection
 

G

generateResponse() - Method in class com.metratec.lib.auth.DigestResponse
 
generateResponse(String) - Method in class com.metratec.lib.auth.DigestResponse
 
generateResponse(String, int) - Method in class com.metratec.lib.auth.DigestResponse
 
getActionByName(String) - Method in class com.metratec.lib.upnp.Service
 
getActions() - Method in class com.metratec.lib.upnp.Service
Fetches the list of actions of this service.
getActions(boolean) - Method in class com.metratec.lib.upnp.Service
Fetches the list of actions of this service.
getAlgorithm() - Method in class com.metratec.lib.auth.DigestRequest
 
getAllInterfaceInetAddresses() - Static method in class com.metratec.lib.connection.UdpConnection
Get the InetAddresses of all local network interfaces.
getAuthorizationHeader(String, String) - Static method in class com.metratec.lib.auth.BasicAuthentication
 
getBaseURL() - Method in class com.metratec.lib.upnp.Service
 
getBaudrate() - Method in class com.metratec.lib.connection.SerialConnection
 
getBuildProperty(String) - Static method in class com.metratec.lib.upnp.UpnpLibrary
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.FileConnection
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.ICommConnection
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.PrinterConnection
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.Rs232Connection
 
getConnectionTimeout() - Method in class com.metratec.lib.connection.UsbConnection
 
getControlURL() - Method in class com.metratec.lib.upnp.Service
 
getDataBit() - Method in class com.metratec.lib.connection.SerialConnection
 
getDescription() - Method in class com.metratec.lib.upnp.Device
Gets the device description.
getDescription(boolean) - Method in class com.metratec.lib.upnp.Device
Loads the device description from the URL for UPnP description.
getDeviceName() - Method in class com.metratec.lib.connection.EthernetDevice
 
getDeviceType() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the UPnP device type.
getErrorCode() - Method in exception com.metratec.lib.connection.CommConnectionException
 
getErrorDescription() - Method in exception com.metratec.lib.connection.CommConnectionException
Get human readable description of the error code.
getEventSubURL() - Method in class com.metratec.lib.upnp.Service
 
getFlowControl() - Method in class com.metratec.lib.connection.SerialConnection
 
getFriendlyName() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the UPnP device's friendly name.
getInetAddress() - Method in class com.metratec.lib.upnp.Device
Gets the Device.inetAddress of the device.
getInfo() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getInfo() - Method in class com.metratec.lib.connection.FileConnection
 
getInfo() - Method in class com.metratec.lib.connection.ICommConnection
Gets Device Informations
getInfo() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
getInfo() - Method in class com.metratec.lib.connection.PrinterConnection
Gets device information.
getInfo() - Method in class com.metratec.lib.connection.Rs232Connection
 
getInfo() - Method in class com.metratec.lib.connection.UsbConnection
 
getInputArguments() - Method in class com.metratec.lib.upnp.Action
The list of input arguments.
getInputStream() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getInputStream() - Method in class com.metratec.lib.connection.FileConnection
 
getInputStream() - Method in class com.metratec.lib.connection.ICommConnection
 
getInputStream() - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
 
getInputStream() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
getInputStream() - Method in class com.metratec.lib.connection.PrinterConnection
 
getInputStream() - Method in class com.metratec.lib.connection.Rs232Connection
 
getInputStream() - Method in class com.metratec.lib.connection.UsbConnection
 
getIPAddress() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getIPAddress() - Method in class com.metratec.lib.connection.EthernetDevice
 
getJD2XX() - Method in class com.metratec.lib.connection.UsbConnection
 
getLantronixEthernetDevices(int) - Static method in class com.metratec.lib.connection.UdpConnection
Send UDP broadcasts on all local network interfaces and return all responding Lantronix devices.
getLantronixEthernetDevices(int, InetAddress) - Static method in class com.metratec.lib.connection.UdpConnection
Send UDP broadcast from a specific IP address and return all responding Lantronix devices.
getLantronixEthernetDevices(int, List<InetAddress>) - Static method in class com.metratec.lib.connection.UdpConnection
Send UDP broadcasts from a specified list of IP addresses and return all responding Lantronix devices.
getLinkTimeout() - Method in class com.metratec.lib.connection.MpsTunnelConnection
Gets the link timeout for linking to a slave device.
getLocalAddress() - Method in class com.metratec.lib.upnp.Device
Gets the Device.localAddress of the device.
getLocation() - Method in class com.metratec.lib.upnp.Device
Get the URL for UPnP description.
getLogger() - Static method in class com.metratec.lib.upnp.UpnpLibrary
 
getMACAddress() - Method in class com.metratec.lib.connection.EthernetDevice
 
getManufacturer() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the manufacturer's name.
getManufacturerURL() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the manufacturer's web site.
getMasterConn() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
getMetratecEthernetDevices(int) - Static method in class com.metratec.lib.connection.UdpConnection
Send UDP broadcasts on all local network interfaces and return all responding metraTec TUC devices.
getMetratecEthernetDevices(int, InetAddress) - Static method in class com.metratec.lib.connection.UdpConnection
Send UDP broadcast from a specific IP address and return all responding metraTec TUC devices.
getMetratecEthernetDevices(int, List<InetAddress>) - Static method in class com.metratec.lib.connection.UdpConnection
Send UDP broadcasts from a specified list of IP addresses and return all responding metraTec TUC devices.
getModelDescription() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the model description.
getModelName() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the model name.
getModelNumber() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the model number.
getModelURL() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the web site for model.
getName() - Method in class com.metratec.lib.upnp.Action
Get the name of the action.
getName() - Method in class com.metratec.lib.upnp.Argument
 
getName() - Static method in class com.metratec.lib.upnp.UpnpLibrary
 
getNls() - Method in class com.metratec.lib.upnp.Device
Get the network location signature.
getNonce() - Method in class com.metratec.lib.auth.DigestRequest
 
getOpaque() - Method in class com.metratec.lib.auth.DigestRequest
 
getOutputArguments() - Method in class com.metratec.lib.upnp.Action
The list of output arguments.
getOutputStream() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getOutputStream() - Method in class com.metratec.lib.connection.FileConnection
 
getOutputStream() - Method in class com.metratec.lib.connection.ICommConnection
 
getOutputStream() - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
 
getOutputStream() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
getOutputStream() - Method in class com.metratec.lib.connection.PrinterConnection
 
getOutputStream() - Method in class com.metratec.lib.connection.Rs232Connection
 
getOutputStream() - Method in class com.metratec.lib.connection.UsbConnection
 
getParity() - Method in class com.metratec.lib.connection.SerialConnection
 
getPort() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getPort() - Method in class com.metratec.lib.connection.server.AbstractSocketServer
 
getPortName() - Method in class com.metratec.lib.connection.Rs232Connection
 
getPresentationURL() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the presentation URL for the device.
getPrinterList() - Static method in class com.metratec.lib.connection.PrinterConnection
Return list of all possible printer names that can be passed to PrinterConnection(String).
getQop() - Method in class com.metratec.lib.auth.DigestRequest
 
getRealm() - Method in class com.metratec.lib.auth.DigestRequest
 
getRecvTimeout() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getRecvTimeout() - Method in class com.metratec.lib.connection.FileConnection
 
getRecvTimeout() - Method in class com.metratec.lib.connection.ICommConnection
 
getRecvTimeout() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
getRecvTimeout() - Method in class com.metratec.lib.connection.PrinterConnection
 
getRecvTimeout() - Method in class com.metratec.lib.connection.Rs232Connection
 
getRecvTimeout() - Method in class com.metratec.lib.connection.UsbConnection
 
getSendTimeout() - Method in class com.metratec.lib.connection.UsbConnection
 
getSerialNumber() - Method in class com.metratec.lib.connection.UsbConnection
Get the USB device's serial number.
getSerialNumber() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the device's serial number.
getSerialPort() - Method in class com.metratec.lib.connection.Rs232Connection
 
getSerialPorts() - Static method in class com.metratec.lib.connection.Rs232Connection
get the available Serial Ports
getService() - Method in class com.metratec.lib.upnp.Action
Get the service this action belongs to.
getServiceById(String) - Method in class com.metratec.lib.upnp.DeviceDescription
Find a service by UPnP service identifier.
getServiceByType(String) - Method in class com.metratec.lib.upnp.DeviceDescription
Find a service by UPnP service type.
getServiceId() - Method in class com.metratec.lib.upnp.Service
 
getServices() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the list of all UPnP services of this device.
getServiceType() - Method in class com.metratec.lib.upnp.Service
 
getSocket() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
getSt() - Method in class com.metratec.lib.upnp.Device
Get the search target.
getStopBit() - Method in class com.metratec.lib.connection.SerialConnection
 
getUdn() - Method in class com.metratec.lib.upnp.DeviceDescription
Get the Unique Device Name (UDN).
getUSBDevices() - Static method in class com.metratec.lib.connection.UsbConnection
 
getUSBDevicesList() - Static method in class com.metratec.lib.connection.UsbConnection
 
getUsn() - Method in class com.metratec.lib.upnp.Device
Get the unique service name.
getValue() - Method in class com.metratec.lib.upnp.Argument
 
getVersion() - Static method in class com.metratec.lib.upnp.UpnpLibrary
 

H

handle(InetAddress, DatagramPacket, DatagramSocket) - Method in interface com.metratec.lib.connection.UdpBroadcastHandlerInterface
Handle a broadcast received.
hashCode() - Method in class com.metratec.lib.connection.EthernetDevice
 
hashCode() - Method in class com.metratec.lib.upnp.Device
 

I

ICommConnection - Class in com.metratec.lib.connection
Connection interface
ICommConnection() - Constructor for class com.metratec.lib.connection.ICommConnection
 
isAlive(int) - Method in class com.metratec.lib.connection.AbstractTcpConnection
Test if the Ethernet Device is reachable.
isAlive(String, int) - Static method in class com.metratec.lib.connection.AbstractTcpConnection
Test if a Ethernet Device is reachable.
isConnected() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
isConnected() - Method in class com.metratec.lib.connection.FileConnection
 
isConnected() - Method in class com.metratec.lib.connection.ICommConnection
 
isConnected() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
isConnected() - Method in class com.metratec.lib.connection.PrinterConnection
 
isConnected() - Method in class com.metratec.lib.connection.Rs232Connection
 
isConnected() - Method in class com.metratec.lib.connection.UsbConnection
 
isIpv6Enabled() - Method in class com.metratec.lib.upnp.Discovery
 
isLinked() - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
Returns whether to use linked communication.
isReachable() - Method in class com.metratec.lib.connection.EthernetDevice
 
isRunning() - Method in class com.metratec.lib.connection.server.AbstractSocketServer
 
isServerConnection() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 

M

MpsLegacyTunnelConnection - Class in com.metratec.lib.connection
A connection to a slave device behind a MPS Master (MPS Beacon, BraceID, etc.).
MpsLegacyTunnelConnection(ICommConnection) - Constructor for class com.metratec.lib.connection.MpsLegacyTunnelConnection
Construct a MPS Tunneling Connection.
MpsLegacyTunnelConnection(ICommConnection, String) - Constructor for class com.metratec.lib.connection.MpsLegacyTunnelConnection
Construct a MPS Tunneling Connection.
MpsTunnelConnection - Class in com.metratec.lib.connection
A connection to a slave device behind a MPS Master (MPS Beacon, BraceID, etc.).
MpsTunnelConnection(ICommConnection) - Constructor for class com.metratec.lib.connection.MpsTunnelConnection
Construct a MPS Tunneling Connection.
MpsTunnelConnection(ICommConnection, String) - Constructor for class com.metratec.lib.connection.MpsTunnelConnection
Construct a MPS Tunneling Connection.

N

NO_DEVICES_FOUND - Static variable in class com.metratec.lib.connection.ICommConnection
no devices for a connection found
NO_LIBRARY_FOUND - Static variable in class com.metratec.lib.connection.ICommConnection
could not find the needed java library for the connection
NOT_AVAILABLE - Static variable in class com.metratec.lib.connection.ICommConnection
not available - method is not available
NOT_INITIALISED - Static variable in class com.metratec.lib.connection.ICommConnection
connection is not initializes

P

PrinterConnection - Class in com.metratec.lib.connection
A connection to a printer.
PrinterConnection(String) - Constructor for class com.metratec.lib.connection.PrinterConnection
Construct a new printer connection.

R

receive(int...) - Method in class com.metratec.lib.connection.ICommConnection
Receives data from the connected device until one of the terminator signs is found.
receive(int...) - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
receive(int...) - Method in class com.metratec.lib.connection.PrinterConnection
 
receive(int...) - Method in class com.metratec.lib.connection.Rs232Connection
 
receive(int...) - Method in class com.metratec.lib.connection.SslTcpConnection
 
receive(int...) - Method in class com.metratec.lib.connection.TcpConnection
 
receive(int...) - Method in class com.metratec.lib.connection.UsbConnection
 
recv() - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
recv() - Method in class com.metratec.lib.connection.FileConnection
 
recv() - Method in class com.metratec.lib.connection.ICommConnection
Receives a single byte.
recv() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
recv() - Method in class com.metratec.lib.connection.PrinterConnection
Receives one character from the device.
recv() - Method in class com.metratec.lib.connection.Rs232Connection
 
recv() - Method in class com.metratec.lib.connection.UsbConnection
 
recv(byte[]) - Method in class com.metratec.lib.connection.ICommConnection
Receive bytes until buffer is filled or timeout occurrs.
recv(byte[], int, int) - Method in class com.metratec.lib.connection.ICommConnection
Receives until buffer is filled or timeout occurrs.
recv(byte[], int, int) - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
recv(byte[], int, int) - Method in class com.metratec.lib.connection.PrinterConnection
 
recv(byte[], int, int) - Method in class com.metratec.lib.connection.Rs232Connection
 
recv(byte[], int, int) - Method in class com.metratec.lib.connection.SslTcpConnection
 
recv(byte[], int, int) - Method in class com.metratec.lib.connection.TcpConnection
 
recv(byte[], int, int) - Method in class com.metratec.lib.connection.UsbConnection
 
recv(int...) - Method in class com.metratec.lib.connection.ICommConnection
Receives data from the connected device until one of the terminator signs is found.
RECV_TIMEOUT - Static variable in class com.metratec.lib.connection.ICommConnection
no data arrive during the receive timeout
Rs232Connection - Class in com.metratec.lib.connection
A connection to a rs232 device
Rs232Connection(String, int, int, int, int, int) - Constructor for class com.metratec.lib.connection.Rs232Connection
Construct a new RS232Connection object, with the given parameters

S

send(byte[]) - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
send(byte[]) - Method in class com.metratec.lib.connection.FileConnection
 
send(byte[]) - Method in class com.metratec.lib.connection.ICommConnection
Sends data to the connected device
send(byte[]) - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
 
send(byte[]) - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
send(byte[]) - Method in class com.metratec.lib.connection.PrinterConnection
Sends data to the connected device.
send(byte[]) - Method in class com.metratec.lib.connection.Rs232Connection
 
send(byte[]) - Method in class com.metratec.lib.connection.UsbConnection
 
send(String) - Method in class com.metratec.lib.connection.ICommConnection
Sends data to the connected device
send(String) - Method in class com.metratec.lib.connection.TcpConnection
 
sendBroadcastRecvOnUnicast(DatagramPacket, int, int, int, List<InetAddress>, UdpBroadcastHandlerInterface) - Static method in class com.metratec.lib.connection.UdpConnection
Send broadcast packets from a list of source addresses and receive answers on the corresponding unicast addresses.
sendRecvBroadcast(DatagramPacket, int, int, int, UdpBroadcastHandlerInterface) - Static method in class com.metratec.lib.connection.UdpConnection
Send broadcast packets from all local interface addresses and receive broadcast answers in a platform-independant manner.
sendRecvBroadcast(DatagramPacket, int, int, int, InetAddress, UdpBroadcastHandlerInterface) - Static method in class com.metratec.lib.connection.UdpConnection
Send broadcast packets from a single source source address and receive broadcast answers in a platform-independant manner.
sendRecvBroadcast(DatagramPacket, int, int, int, List<InetAddress>, UdpBroadcastHandlerInterface) - Static method in class com.metratec.lib.connection.UdpConnection
Send broadcast packets from a list of source addresses and receive broadcast answers in a platform-independant manner.
SERIAL_NO_ACCESS - Static variable in class com.metratec.lib.connection.ICommConnection
no access to the input/output stream
SERIAL_NOT_INITIALISED - Static variable in class com.metratec.lib.connection.ICommConnection
could not initialize the rs232 connection
SERIAL_PARAMETER_NOT_SET - Static variable in class com.metratec.lib.connection.ICommConnection
could not set interface parameter
SERIAL_PORT_NOT_EXIST - Static variable in class com.metratec.lib.connection.ICommConnection
specified serial port not exist
SerialConnection - Class in com.metratec.lib.connection
Abstract parent class for the serial connections
serverError(IOException) - Method in interface com.metratec.lib.connection.server.ClientConnectionListener
 
Service - Class in com.metratec.lib.upnp
Class to represent an UPnP service.
Service(URL, String, String, String, String, String) - Constructor for class com.metratec.lib.upnp.Service
 
SET_CONFIGURATION - Static variable in class com.metratec.lib.connection.ICommConnection
error while setting parameters
setAlgorithm(String) - Method in class com.metratec.lib.auth.DigestResponse
 
setBaudrate(int) - Method in class com.metratec.lib.connection.SerialConnection
 
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.FileConnection
 
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.ICommConnection
Sets the waiting time for the connection
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.PrinterConnection
 
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.Rs232Connection
 
setConnectionTimeout(int) - Method in class com.metratec.lib.connection.UsbConnection
 
setCredentials(String, String) - Method in class com.metratec.lib.upnp.CallAction
Set the credentials for HTTP basic/digest authentication.
setDataBit(int) - Method in class com.metratec.lib.connection.SerialConnection
 
setDeviceName(String) - Method in class com.metratec.lib.connection.EthernetDevice
set the device name
setFlowControl(int) - Method in class com.metratec.lib.connection.SerialConnection
 
setIPAddress(String) - Method in class com.metratec.lib.connection.AbstractTcpConnection
sets the used IP address
setIPAddress(String) - Method in class com.metratec.lib.connection.EthernetDevice
set the IP Address
setIpv6Enabled(boolean) - Method in class com.metratec.lib.upnp.Discovery
 
setKeyStoreFile(String) - Static method in class com.metratec.lib.connection.server.SslSocketServer
 
setKeyStorePassword(String) - Static method in class com.metratec.lib.connection.server.SslSocketServer
 
setLinked(boolean) - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
Sets whether to use linked communication or not.
setLinkTimeout(int) - Method in class com.metratec.lib.connection.MpsTunnelConnection
Sets the link timeout for linking to a slave device.
setLocalAddress(InetAddress) - Method in class com.metratec.lib.upnp.Device
setLocation(String) - Method in class com.metratec.lib.upnp.Device
Set the URL for UPnP description.
setMACAddress(String) - Method in class com.metratec.lib.connection.EthernetDevice
set the MAC Address
setMethod(String) - Method in class com.metratec.lib.auth.DigestResponse
 
setNls(String) - Method in class com.metratec.lib.upnp.Device
Set the network location signature.
setParity(int) - Method in class com.metratec.lib.connection.SerialConnection
 
setPassword(String) - Method in class com.metratec.lib.auth.DigestResponse
 
setPort(int) - Method in class com.metratec.lib.connection.AbstractTcpConnection
sets the used port
setPortName(String) - Method in class com.metratec.lib.connection.Rs232Connection
Sets the used serial port
setQop(String) - Method in class com.metratec.lib.auth.DigestResponse
 
setReachable(boolean) - Method in class com.metratec.lib.connection.EthernetDevice
set the reachable flag
setRecvTimeout(int) - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
setRecvTimeout(int) - Method in class com.metratec.lib.connection.FileConnection
 
setRecvTimeout(int) - Method in class com.metratec.lib.connection.ICommConnection
set the receive timeout for read data, if the timeout expires an CommConnectionException is raised with errorcode RECV_TIMEOUT, the connection is still valid
setRecvTimeout(int) - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
setRecvTimeout(int) - Method in class com.metratec.lib.connection.PrinterConnection
 
setRecvTimeout(int) - Method in class com.metratec.lib.connection.Rs232Connection
 
setRecvTimeout(int) - Method in class com.metratec.lib.connection.UsbConnection
 
setSendTimeout(int) - Method in class com.metratec.lib.connection.UsbConnection
Set the send timeout
setSerialNumber(String) - Method in class com.metratec.lib.connection.UsbConnection
Set the USB device's serial number.
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.AbstractTcpConnection
 
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.FileConnection
 
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.ICommConnection
Sets connections settings
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.PrinterConnection
 
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.Rs232Connection
 
setSettings(Hashtable<String, String>) - Method in class com.metratec.lib.connection.UsbConnection
 
setSt(String) - Method in class com.metratec.lib.upnp.Device
Set the search target.
setStopBit(int) - Method in class com.metratec.lib.connection.SerialConnection
 
setTrustStoreFile(String) - Static method in class com.metratec.lib.connection.SslTcpConnection
 
setTrustStorePassword(String) - Static method in class com.metratec.lib.connection.SslTcpConnection
 
setUri(String) - Method in class com.metratec.lib.auth.DigestResponse
 
setUsername(String) - Method in class com.metratec.lib.auth.DigestResponse
 
setUsn(String) - Method in class com.metratec.lib.upnp.Device
Set the unique service name.
setValue(String) - Method in class com.metratec.lib.upnp.Argument
 
SocketServer - Class in com.metratec.lib.connection.server
 
SocketServer() - Constructor for class com.metratec.lib.connection.server.SocketServer
 
SslSocketServer - Class in com.metratec.lib.connection.server
 
SslSocketServer() - Constructor for class com.metratec.lib.connection.server.SslSocketServer
 
SslTcpConnection - Class in com.metratec.lib.connection
A connection to a ssl tcp port

Notes: InputStream.available() allways return 0 !
SslTcpConnection(String, int) - Constructor for class com.metratec.lib.connection.SslTcpConnection
Construct a new SslSocketConnection class, with the given parameters.
SslTcpConnection(SSLSocket) - Constructor for class com.metratec.lib.connection.SslTcpConnection
 
SslTcpConnection(SSLSocket, boolean) - Constructor for class com.metratec.lib.connection.SslTcpConnection
 
start(int, int, InetAddress, ClientConnectionListener) - Method in class com.metratec.lib.connection.server.AbstractSocketServer
Start the waiting for new client to connect
start(int, ClientConnectionListener) - Method in class com.metratec.lib.connection.server.AbstractSocketServer
Start the waiting for new client to connect
stop() - Method in class com.metratec.lib.connection.server.AbstractSocketServer
stop the server

T

TcpConnection - Class in com.metratec.lib.connection
A connection to a tcp port
TcpConnection(String, int) - Constructor for class com.metratec.lib.connection.TcpConnection
Construct a new TCPIPConnection class, with the given parameters.
TcpConnection(Socket) - Constructor for class com.metratec.lib.connection.TcpConnection
 
TcpConnection(Socket, boolean) - Constructor for class com.metratec.lib.connection.TcpConnection
 
toString() - Method in class com.metratec.lib.auth.DigestRequest
 
toString() - Method in class com.metratec.lib.auth.DigestResponse
 
toString() - Method in class com.metratec.lib.connection.MpsLegacyTunnelConnection
 
toString() - Method in class com.metratec.lib.connection.MpsTunnelConnection
 
toString() - Method in class com.metratec.lib.connection.Rs232Connection
 
toString() - Method in class com.metratec.lib.connection.SslTcpConnection
 
toString() - Method in class com.metratec.lib.connection.TcpConnection
 
toString() - Method in class com.metratec.lib.connection.UsbConnection
 
toString() - Method in class com.metratec.lib.upnp.Action
 
toString() - Method in class com.metratec.lib.upnp.Argument
 
toString() - Method in class com.metratec.lib.upnp.Device
 
toString() - Method in class com.metratec.lib.upnp.DeviceDescription
 

U

UdpBroadcastHandlerInterface - Interface in com.metratec.lib.connection
UdpConnection - Class in com.metratec.lib.connection
A connection to a udp port
UdpConnection() - Constructor for class com.metratec.lib.connection.UdpConnection
 
UNHANDLED_ERROR - Static variable in class com.metratec.lib.connection.ICommConnection
error which is not specifically defined
updateDevice() - Method in class com.metratec.lib.upnp.Device
Updates the device details by sending targeted discovery message to the device.
UpnpLibrary - Class in com.metratec.lib.upnp
This class allows getting the library details.
UpnpLibrary() - Constructor for class com.metratec.lib.upnp.UpnpLibrary
 
USB_SET_BAUDRATE - Static variable in class com.metratec.lib.connection.ICommConnection
Set baudrate for the usb connection failed
USB_SET_DATA_CHARACTERISTICS - Static variable in class com.metratec.lib.connection.ICommConnection
set data characteristics for the usb connection failed
USB_SET_FLOWCONTROL - Static variable in class com.metratec.lib.connection.ICommConnection
set flow control for the usb connection failed
USB_SET_TIMEOUTS - Static variable in class com.metratec.lib.connection.ICommConnection
set timeouts for the usb connection failed
UsbConnection - Class in com.metratec.lib.connection
A connection to a usb device
UsbConnection(String) - Constructor for class com.metratec.lib.connection.UsbConnection
Construct a new USBConnection object
UsbConnection(String, int) - Constructor for class com.metratec.lib.connection.UsbConnection
Construct a new USBConnection object
UsbConnection(String, int, int, int, int, int) - Constructor for class com.metratec.lib.connection.UsbConnection
Construct a new USBConnection object
UsbConnection(JD2XX.DeviceInfo) - Constructor for class com.metratec.lib.connection.UsbConnection
Construct a new USBConnection object
UsbConnection(JD2XX.DeviceInfo, int) - Constructor for class com.metratec.lib.connection.UsbConnection
Construct a new USBConnection object
UsbConnection(JD2XX.DeviceInfo, int, int, int, int, int) - Constructor for class com.metratec.lib.connection.UsbConnection
Construct a new USBConnection object
USER_ERRORCODE_01 - Static variable in class com.metratec.lib.connection.ICommConnection
for individual use
USER_ERRORCODE_02 - Static variable in class com.metratec.lib.connection.ICommConnection
for individual use
USER_ERRORCODE_03 - Static variable in class com.metratec.lib.connection.ICommConnection
for individual use
USER_ERRORCODE_04 - Static variable in class com.metratec.lib.connection.ICommConnection
for individual use
USER_ERRORCODE_05 - Static variable in class com.metratec.lib.connection.ICommConnection
for individual use

W

WRONG_PARAMETER - Static variable in class com.metratec.lib.connection.ICommConnection
wrong parameter
A B C D E F G H I M N P R S T U W 
All Classes All Packages