Class ProtobufBaseAsyncProtocolHandler

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

public abstract class ProtobufBaseAsyncProtocolHandler
extends BaseAsyncProtocolHandler
  • Constructor Details

  • Method Details

    • sendMessage

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

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