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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleBindResponse(int status, java.lang.String detail)
Handle the response to a Bind operationvoid
handleResponse(SomCommand cmd, int status, java.lang.String detail)
Generic command response handler
-
-
-
Method Detail
-
handleBindResponse
void handleBindResponse(int status, java.lang.String detail)
Handle the response to a Bind operation- Parameters:
status
- operation statusdetail
- error detail on failure
-
handleResponse
void handleResponse(SomCommand cmd, int status, java.lang.String detail)
Generic command response handler- Parameters:
cmd
- the command to which the response appliesstatus
- status from commanddetail
- error detail
-
-