A C D E G I M O R S T V 
All Classes All Packages

A

addTrustedSki(String) - Method in class org.openmuc.jeebus.ship.api.Ship
adding a SKI authenticates the SHIP node using that SKI.

C

ClientConnectedCallBack - Interface in org.openmuc.jeebus.ship.api
this callback can be used for the server to set a procedure to run as soon as a client connects to that server
close() - Method in interface org.openmuc.jeebus.ship.api.ShipConnectionInterface
closes the connection
connectionDataExchangeEnabled(String) - Method in interface org.openmuc.jeebus.ship.api.ConnectionHandler
Called when the connection to a device reaches the state "Connection Data Exchange".
ConnectionHandler - Interface in org.openmuc.jeebus.ship.api
 
createServer(int, String, boolean) - Method in class org.openmuc.jeebus.ship.api.Ship
 
createServiceInfo(String, String, int, TxtRecord) - Static method in class org.openmuc.jeebus.ship.api.Ship
 
createTxtRecord(String, String, String, boolean) - Static method in class org.openmuc.jeebus.ship.api.Ship
 
createTxtRecord(String, String, String, boolean, String, String, String) - Static method in class org.openmuc.jeebus.ship.api.Ship
 

D

DisconnectReason - Enum in org.openmuc.jeebus.ship.api
 
DUPLICATE_CONN - org.openmuc.jeebus.ship.api.DisconnectReason
 

E

ERROR - org.openmuc.jeebus.ship.api.DisconnectReason
 
ExampleClient - Class in org.openmuc.jeebus.ship.examples
 
ExampleClient() - Constructor for class org.openmuc.jeebus.ship.examples.ExampleClient
 
ExampleServer - Class in org.openmuc.jeebus.ship.examples
 
ExampleServer() - Constructor for class org.openmuc.jeebus.ship.examples.ExampleServer
 

G

getAlias() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getCertificateValidityInDays() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getCertPath() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getDistinguishedName() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getIpAddress() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getKeyPairPassphrase() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getKeyStorePassphrase() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getOwnSki() - Method in class org.openmuc.jeebus.ship.api.Ship
 
getPort() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getRemoteAddress() - Method in interface org.openmuc.jeebus.ship.api.ShipConnectionInterface
 
getRemoteSki() - Method in interface org.openmuc.jeebus.ship.api.ShipConnectionInterface
 
getServiceDomain() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getServiceId() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getServiceInstance() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
getServices() - Method in class org.openmuc.jeebus.ship.api.Ship
returns an array with all detected services, including own service
getWssPath() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 

I

isKeepAlive() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 

M

main(String[]) - Static method in class org.openmuc.jeebus.ship.examples.ExampleClient
 
main(String[]) - Static method in class org.openmuc.jeebus.ship.examples.ExampleServer
 
main(String[]) - Static method in class org.openmuc.jeebus.ship.examples.MainTest
 
MainTest - Class in org.openmuc.jeebus.ship.examples
 
MainTest() - Constructor for class org.openmuc.jeebus.ship.examples.MainTest
 

O

onClientConnected(ShipConnection) - Method in interface org.openmuc.jeebus.ship.api.ClientConnectedCallBack
 
onDisconnect(DisconnectReason, ShipConnectionInterface) - Method in interface org.openmuc.jeebus.ship.api.ConnectionHandler
called when the connection is closed
onMessageReceived(byte[], byte[], ShipConnectionInterface) - Method in interface org.openmuc.jeebus.ship.api.ConnectionHandler
called when a message with payload was received
openConnection(String) - Method in class org.openmuc.jeebus.ship.api.Ship
opens a connection to a device/server
openConnection(String) - Method in interface org.openmuc.jeebus.ship.api.ShipInterface
opens a connection to a device/server
org.openmuc.jeebus.ship.api - package org.openmuc.jeebus.ship.api
 
org.openmuc.jeebus.ship.examples - package org.openmuc.jeebus.ship.examples
 

R

REGULAR_END - org.openmuc.jeebus.ship.api.DisconnectReason
 
removeTrustedSki(String) - Method in class org.openmuc.jeebus.ship.api.Ship
tries to remove a ski from the trusted SKIs
requestAccessMethods() - Method in interface org.openmuc.jeebus.ship.api.ShipConnectionInterface
requests access methods from client, only works as server, an exception is thrown otherwise
requestAccessMethods(ShipConnection) - Method in class org.openmuc.jeebus.ship.api.Ship
requests the access methods for the communication partner of the specified connection.
runConnectionDataPreparation(ShipConnection) - Method in class org.openmuc.jeebus.ship.api.Ship
run the states in connection data preparation, this method is non-blocking and the states will run asynchronously

S

sendMsg(byte[]) - Method in interface org.openmuc.jeebus.ship.api.ShipConnectionInterface
sends a message to the communication partner
serviceAdded(String, String) - Method in interface org.openmuc.jeebus.ship.api.ConnectionHandler
called when a service is recognized and added
serviceRemoved(String) - Method in interface org.openmuc.jeebus.ship.api.ConnectionHandler
called when an added service was removed
setAlias(String) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setAutoAcceptMode() - Method in class org.openmuc.jeebus.ship.api.Ship
sets the node to auto-accept-mode.
setCertPath(String) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setClientConnectedCB(ClientConnectedCallBack) - Method in class org.openmuc.jeebus.ship.api.Ship
 
setConnHandler(ConnectionHandler) - Method in class org.openmuc.jeebus.ship.api.Ship
 
setConnHandler(ConnectionHandler) - Method in interface org.openmuc.jeebus.ship.api.ShipInterface
sets a connection handler
setIpAddress(InetAddress) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setKeepAlive(boolean) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setPort(int) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setServiceDomain(String) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setServiceId(String) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setServiceInstance(String) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
setWssPath(String) - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 
Ship - Class in org.openmuc.jeebus.ship.api
 
Ship(ShipNodeConfiguration, ConnectionHandler) - Constructor for class org.openmuc.jeebus.ship.api.Ship
creates a new node on construction
ShipConnectionInterface - Interface in org.openmuc.jeebus.ship.api
users can interact with a specific client or server through this interface
ShipInterface - Interface in org.openmuc.jeebus.ship.api
 
ShipNodeConfiguration - Class in org.openmuc.jeebus.ship.api
 
ShipNodeConfiguration(int, String, boolean, String, String, String, String, char[], char[], String, int) - Constructor for class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
ShipNodeConfiguration(int, String, boolean, String, String, String, String, String, char[], char[], String, int) - Constructor for class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
ShipNodeConfiguration(String, int, String, boolean, String, String, String, String, char[], char[], String, int) - Constructor for class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
Wrapper class for parameters for initial ship node configuration.
ShipNodeConfiguration(String, int, String, boolean, String, String, String, String, String, char[], char[], String, int) - Constructor for class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
shutDown() - Method in class org.openmuc.jeebus.ship.api.Ship
shuts down service discovery, all servers and clients on the node and the node itself

T

toString() - Method in class org.openmuc.jeebus.ship.api.ShipNodeConfiguration
 

V

valueOf(String) - Static method in enum org.openmuc.jeebus.ship.api.DisconnectReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.openmuc.jeebus.ship.api.DisconnectReason
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G I M O R S T V 
All Classes All Packages