org.mobicents.protocols.ss7.sccp
Interface SccpListener


public interface SccpListener

Author:
Oleg Kulikov, baranowb

Method Summary
 void linkDown()
          Called when underlying link goes down.
 void linkUp()
          Called when underlying link goes up.
 void onMessage(SccpAddress calledPartyAddress, SccpAddress callingPartyAddress, byte[] data, org.mobicents.protocols.ss7.mtp.RoutingLabel backReference)
          Called when proper data is received, it is partially decoded.
 

Method Detail

onMessage

void onMessage(SccpAddress calledPartyAddress,
               SccpAddress callingPartyAddress,
               byte[] data,
               org.mobicents.protocols.ss7.mtp.RoutingLabel backReference)
Called when proper data is received, it is partially decoded. This method is called with message payload.

Parameters:
calledPartyAddress - - destination address
callingPartyAddress - - originating address
data - - payload of data unit
backReference - - reference to be passed to provider send method. It contains routing label, which should be used to send this message back.

linkDown

void linkDown()
Called when underlying link goes down.


linkUp

void linkUp()
Called when underlying link goes up.



Copyright © 2010. All Rights Reserved.