Skip navigation links
A B C D G I L M O R S T W 

A

apply(SynchronousCommunication) - Method in interface sila_java.library.communication.WelcomeFlusherFunction
Callback on startup

B

build() - Method in class sila_java.library.communication.SynchronousCommunication.Builder
Builder(CommunicationSocket) - Constructor for class sila_java.library.communication.SynchronousCommunication.Builder
Builder

C

checkResult(String) - Method in interface sila_java.library.communication.SynchronousCommunication.CheckResultInterface
Check the Result for Error and throw and Error if detected.
close() - Method in class sila_java.library.communication.socket.CommunicationSocket
Close socket
close() - Method in class sila_java.library.communication.SynchronousCommunication
closeSocket() - Method in class sila_java.library.communication.socket.SerialCommunication
 
CommunicationSocket - Class in sila_java.library.communication.socket
Bidirectional Communication being managed by SynchronousCommunication
CommunicationSocket() - Constructor for class sila_java.library.communication.socket.CommunicationSocket
 

D

DEFAULT_SERIAL_COM_NAME - Static variable in class sila_java.library.communication.socket.SerialCommunication
 
display() - Static method in class sila_java.library.communication.utils.ListSerialComInterfaces
Send to standard output the connected serial communication interfaces

G

getInputStream() - Method in class sila_java.library.communication.socket.CommunicationSocket
Get input stream
getInputStream() - Method in class sila_java.library.communication.socket.SerialCommunication
 
getInputStream() - Method in class sila_java.library.communication.socket.TcpCommunication
 
getOutputStream() - Method in class sila_java.library.communication.socket.CommunicationSocket
Get output stream
getOutputStream() - Method in class sila_java.library.communication.socket.SerialCommunication
 
getOutputStream() - Method in class sila_java.library.communication.socket.TcpCommunication
 

I

isUp() - Method in class sila_java.library.communication.SynchronousCommunication
Is communication up

L

ListSerialComInterfaces - Class in sila_java.library.communication.utils
Utility program that list series communication interfaces
ListSerialComInterfaces() - Constructor for class sila_java.library.communication.utils.ListSerialComInterfaces
 

M

main(String[]) - Static method in class sila_java.library.communication.utils.ListSerialComInterfaces
main

O

open() - Method in class sila_java.library.communication.socket.CommunicationSocket
Open socket
open() - Method in class sila_java.library.communication.SynchronousCommunication
Open the Serial Port

R

read(long) - Method in class sila_java.library.communication.SynchronousCommunication
Read with timeout
read(long, String) - Method in class sila_java.library.communication.SynchronousCommunication
Directly read from the serial port in case of asynchronous inputs

S

sendReceive(String, long) - Method in class sila_java.library.communication.SynchronousCommunication
Send and Receive Messages over Serial Port synchronously
sendReceiveSingleLine(String, long) - Method in class sila_java.library.communication.SynchronousCommunication
Send and Receive Messages when a single line response is expected
SerialCommunication - Class in sila_java.library.communication.socket
Implementation for a Serial Communication Socket (e.g.
SerialCommunication() - Constructor for class sila_java.library.communication.socket.SerialCommunication
Serial Communication Constructor
SerialCommunication(String) - Constructor for class sila_java.library.communication.socket.SerialCommunication
Serial Communication Constructor
sila_java.library.communication - package sila_java.library.communication
 
sila_java.library.communication.socket - package sila_java.library.communication.socket
 
sila_java.library.communication.utils - package sila_java.library.communication.utils
 
startHeartbeat(int, Supplier<Boolean>) - Method in class sila_java.library.communication.SynchronousCommunication
Start Heartbeat that probes the connection and reestablishes it
SynchronousCommunication - Class in sila_java.library.communication
Serial Communication Class Keeps connection alive and synchronises send & receive calls.
SynchronousCommunication.Builder - Class in sila_java.library.communication
Builder
SynchronousCommunication.CheckResultInterface - Interface in sila_java.library.communication
Check result interface

T

TcpCommunication - Class in sila_java.library.communication.socket
TCP communication
TcpCommunication(String, int) - Constructor for class sila_java.library.communication.socket.TcpCommunication
TCP Communication Constructor

W

WelcomeFlusherFunction<E extends IOException> - Interface in sila_java.library.communication
Welcome flusher function
withErrorChecker(SynchronousCommunication.CheckResultInterface) - Method in class sila_java.library.communication.SynchronousCommunication.Builder
Errors caught on the message layer, be sure to catch the whole error message to empty the input buffers.
withReceiveDelimiter(String) - Method in class sila_java.library.communication.SynchronousCommunication.Builder
 
withSendDelimiter(String) - Method in class sila_java.library.communication.SynchronousCommunication.Builder
 
withStartupMessageFlusher(WelcomeFlusherFunction) - Method in class sila_java.library.communication.SynchronousCommunication.Builder
Some connections send startup messages that need to be flushed, so this will assign a runnable to the startupFunction.
A B C D G I L M O R S T W 
Skip navigation links

Copyright © 2023 SiLA Java Developers. All rights reserved.