com.ibm.MQIsdp
Interface MQIsdpSimpleCallback

All Known Subinterfaces:
MQIsdpAdvancedCallback

public interface MQIsdpSimpleCallback

This interface class defines the methods that will be called if the simple callback mechanism is implemented. Using the simple callback interface a class can be notified of publications arriving and the TCP/IP connection unexpectedly terminating.


Method Summary
 void connectionLost()
          Called by the MQIsdp session if the TCP/IP connection unexpectedly terminates
 void publishArrived(java.lang.String thisTopicName, byte[] thisPayload, int QoS, boolean retained)
          Called by the MQIsdp session when it receives a publish message from the broker.
 

Method Detail

connectionLost

public void connectionLost()
                    throws java.lang.Exception
Called by the MQIsdp session if the TCP/IP connection unexpectedly terminates

java.lang.Exception

publishArrived

public void publishArrived(java.lang.String thisTopicName,
                           byte[] thisPayload,
                           int QoS,
                           boolean retained)
Called by the MQIsdp session when it receives a publish message from the broker.