Class STOMP.Connection

java.lang.Object
org.jgroups.protocols.STOMP.Connection
All Implemented Interfaces:
Runnable
Enclosing class:
STOMP

public class STOMP.Connection extends Object implements Runnable
Class which handles a connection to a client
  • Field Details

  • Constructor Details

  • Method Details

    • stop

      public void stop()
    • remove

      protected void remove()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • handleFrame

      protected void handleFrame(STOMP.Frame frame)
    • sendInfo

      public void sendInfo()
    • writeResponse

      private void writeResponse(STOMP.ServerVerb response, String... keys_and_values)
      Sends back a response. The keys_and_values vararg array needs to have an even number of elements
      Parameters:
      response -
      keys_and_values -
    • writeResponse

      private void writeResponse(byte[] response, int offset, int length)