Interface MessageTransport.EnvelopeSink

Enclosing interface:
MessageTransport
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MessageTransport.EnvelopeSink
Receives envelopes arriving from the network.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Accepts a received envelope for local dispatch.
  • Method Details

    • accept

      void accept(MessageEnvelope envelope)
      Accepts a received envelope for local dispatch.
      Parameters:
      envelope - decoded envelope