Package com.isode.som

Interface SomHandler

All Known Subinterfaces:
SomPumiceHandler, SomQmgrHandler
All Known Implementing Classes:
SomPumiceConnection, SomPumiceMailbox, SomPumiceMessage, SomPumiceMessageStore, SomQmgrAssociation, SomQmgrChannel, SomQmgrHandlerAdapter, SomQmgrInboundMessage, SomQmgrMessage, SomQmgrMta, SomQmgrQueueManager, SomQmgrSchedule

public interface SomHandler
Interface for basic response handler
Author:
tc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleBindResponse(int status, String detail)
    Handle the response to a Bind operation
    void
    handleResponse(SomCommand cmd, int status, String detail)
    Generic command response handler
  • Method Details

    • handleBindResponse

      void handleBindResponse(int status, String detail)
      Handle the response to a Bind operation
      Parameters:
      status - operation status
      detail - error detail on failure
    • handleResponse

      void handleResponse(SomCommand cmd, int status, String detail)
      Generic command response handler
      Parameters:
      cmd - the command to which the response applies
      status - status from command
      detail - error detail