Class ProtobufBaseAsyncProtocolHandler

java.lang.Object
com.diozero.internal.provider.remote.BaseAsyncProtocolHandler
com.diozero.internal.provider.remote.ProtobufBaseAsyncProtocolHandler
All Implemented Interfaces:
RemoteProtocolInterface, java.io.Closeable, java.lang.AutoCloseable
Direct Known Subclasses:
ProtobufMqttProtocolHandler, ProtobufWebSocketProtocolHandler

public abstract class ProtobufBaseAsyncProtocolHandler
extends BaseAsyncProtocolHandler
  • Constructor Details

  • Method Details

    • sendMessage

      protected abstract void sendMessage​(java.lang.String url, com.google.protobuf.GeneratedMessageV3 message) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • requestResponse

      protected Response requestResponse​(java.lang.String url, com.google.protobuf.GeneratedMessageV3 request, java.lang.String correlationId)