Package org.teamapps.cluster.core
Interface Connection
- All Superinterfaces:
org.teamapps.protocol.file.FileProvider,org.teamapps.protocol.file.FileSink
- All Known Implementing Classes:
NetworkConnection
public interface Connection
extends org.teamapps.protocol.file.FileProvider, org.teamapps.protocol.file.FileSink
-
Method Summary
Modifier and Type Method Description voidclose()longgetLastMessageTimestamp()longgetReceivedBytes()longgetReceivedMessages()longgetSentBytes()longgetSentMessages()booleanisConnected()voidsendKeepAlive()Methods inherited from interface org.teamapps.protocol.file.FileProvider
getFileMethods inherited from interface org.teamapps.protocol.file.FileSink
handleFile
-
Method Details
-
isConnected
boolean isConnected() -
close
void close() -
getLastMessageTimestamp
long getLastMessageTimestamp() -
getSentBytes
long getSentBytes() -
getReceivedBytes
long getReceivedBytes() -
getSentMessages
long getSentMessages() -
getReceivedMessages
long getReceivedMessages() -
sendKeepAlive
void sendKeepAlive()
-