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
    void close()  
    boolean isConnected()  
    long lastMessageTimestamp()  
    long receivedBytes()  
    long sendBytes()  
    void sendKeepAlive()  

    Methods inherited from interface org.teamapps.protocol.file.FileProvider

    getFile

    Methods inherited from interface org.teamapps.protocol.file.FileSink

    handleFile
  • Method Details

    • isConnected

      boolean isConnected()
    • close

      void close()
    • lastMessageTimestamp

      long lastMessageTimestamp()
    • sendBytes

      long sendBytes()
    • receivedBytes

      long receivedBytes()
    • sendKeepAlive

      void sendKeepAlive()