org.mobicents.slee.resource.lab.ra
Class MessageResourceAdaptorSbbInterfaceImpl

java.lang.Object
  extended by org.mobicents.slee.resource.lab.ra.MessageResourceAdaptorSbbInterfaceImpl
All Implemented Interfaces:
org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface

public class MessageResourceAdaptorSbbInterfaceImpl
extends java.lang.Object
implements org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface

RAFrameProviderImpl implements the interface RAFrameProvider and provides functionalities of the underlying resource adaptor to the Sbb.
For further information, please refer to the interface RAFrameProvider.

Author:
Michael Maretzke, amit bhayani

Constructor Summary
MessageResourceAdaptorSbbInterfaceImpl(MessageResourceAdaptor ra, org.mobicents.slee.resource.lab.message.MessageFactory messageFactory)
          Create an instance of RAFrameProvicer
 
Method Summary
 org.mobicents.slee.resource.lab.message.MessageFactory getMessageFactory()
           
 org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface getRAFrameProvider()
           
 MessageResourceAdaptor getRAFrameRA()
           
 void send(org.mobicents.slee.resource.lab.message.Message message)
          send() is a functionality of the resource adaptor exposed to the Sbb.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageResourceAdaptorSbbInterfaceImpl

public MessageResourceAdaptorSbbInterfaceImpl(MessageResourceAdaptor ra,
                                              org.mobicents.slee.resource.lab.message.MessageFactory messageFactory)
Create an instance of RAFrameProvicer

Parameters:
ra - the parent resource adaptor
messageFactory - the associated message factory
Method Detail

getRAFrameRA

public MessageResourceAdaptor getRAFrameRA()

send

public void send(org.mobicents.slee.resource.lab.message.Message message)
send() is a functionality of the resource adaptor exposed to the Sbb. Due to the architecture of the Sbb having only access to the RAFrameProvider instead of the RAFrameResourceAdaptor directly, the resource adaptor developer is able to limit the privileges of a Sbb to invoke methods of the resource adaptor directly.

Specified by:
send in interface org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface
Parameters:
message - is the message to send

getRAFrameProvider

public org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface getRAFrameProvider()
Specified by:
getRAFrameProvider in interface org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface

getMessageFactory

public org.mobicents.slee.resource.lab.message.MessageFactory getMessageFactory()
Specified by:
getMessageFactory in interface org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface


Copyright © 2008. All Rights Reserved.