SMSLib 3.5.3

org.smslib
Interface IOrphanedMessageNotification


public interface IOrphanedMessageNotification

Interface of the callback class used by SMSLib. SMSLib will call this method when finds an orphaned inbound message.

See Also:
Service.setOrphanedMessageNotification(IOrphanedMessageNotification)

Method Summary
 boolean process(AGateway gateway, InboundMessage msg)
          This method will be called by SMSLib upon detection of an orphaned message part.
 

Method Detail

process

boolean process(AGateway gateway,
                InboundMessage msg)
This method will be called by SMSLib upon detection of an orphaned message part.

Parameters:
gateway - The gateway from which the orphaned message part was received.
msg - The actual orphaned message. This is the actual message part and not the complete message!
Returns:
True if the application agrees to delete the message part. False if the application wishes to leave it as is.

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org