Package org.openmuc.jship.api
Interface ShipInterface
-
- All Known Implementing Classes:
Ship
public interface ShipInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShipConnectionInterface
openConnection(java.lang.String ipAddr)
opens a connection to a device/servervoid
setConnHandler(ConnectionHandler connHandler)
sets a connection handler
-
-
-
Method Detail
-
openConnection
ShipConnectionInterface openConnection(java.lang.String ipAddr)
opens a connection to a device/server- Parameters:
ipAddr
- the IP address of the device/server to connect to. Example: "127.0.0.1:4059"- Returns:
- an object to represent this particular connection to another device/server
-
setConnHandler
void setConnHandler(ConnectionHandler connHandler)
sets a connection handler
-
-