Interface DataSender

All Known Implementing Classes:
DataClient

public interface DataSender
SubData Data Sender API Layout Class
  • Method Details

    • ping

      void ping(Consumer<PingResponse> response)
      Ping the Sender
      Parameters:
      response - Ping Response
    • sendMessage

      void sendMessage(MessageOut... messages)
      Send a message to the Sender
      Parameters:
      messages - Messages to send
    • getConnection

      DataClient getConnection()
      Get the Client that connects this Sender to us
      Returns:
      Client
    • getProtocol

      DataProtocol getProtocol()
      Get the Protocol used by this Sender
      Returns:
      Sender Protocol
    • getID

      UUID getID()
      Get the ID of this Sender
      Returns:
      Sender ID