org.jdiameter.common.api.app.rx
Interface IRxSessionFactory

All Superinterfaces:
IAppSessionFactory
All Known Implementing Classes:
RxSessionFactoryImpl

public interface IRxSessionFactory
extends IAppSessionFactory

Session Factory interface for Diameter 3GPP IMS Rx Reference Point.

Author:
Alexandre Mendonca , Bartosz Baranowski , Richard Good

Method Summary
 IClientRxSessionContext getClientContextListener()
           
 ClientRxSessionListener getClientSessionListener()
          Get stack wide listener for sessions.
 IRxMessageFactory getMessageFactory()
           
 IServerRxSessionContext getServerContextListener()
           
 ServerRxSessionListener getServerSessionListener()
          Get stack wide listener for sessions.
 StateChangeListener<AppSession> getStateListener()
           
 void setClientContextListener(IClientRxSessionContext clientContextListener)
           
 void setClientSessionListener(ClientRxSessionListener clientSessionListener)
          Set stack wide listener for sessions.
 void setMessageFactory(IRxMessageFactory messageFactory)
           
 void setServerContextListener(IServerRxSessionContext serverContextListener)
           
 void setServerSessionListener(ServerRxSessionListener serverSessionListener)
          Set stack wide listener for sessions.
 void setStateListener(StateChangeListener<AppSession> stateListener)
           
 
Methods inherited from interface org.jdiameter.common.api.app.IAppSessionFactory
getNewSession, getSession
 

Method Detail

getClientSessionListener

ClientRxSessionListener getClientSessionListener()
Get stack wide listener for sessions. In local mode it has similar effect as setting this directly in app session. However clustered session use this value when recreated!

Returns:
the clientSessionListener

setClientSessionListener

void setClientSessionListener(ClientRxSessionListener clientSessionListener)
Set stack wide listener for sessions. In local mode it has similar effect as setting this directly in app session. However clustered session use this value when recreated!

Parameters:
clientSessionListener - the clientSessionListener to set

getServerSessionListener

ServerRxSessionListener getServerSessionListener()
Get stack wide listener for sessions. In local mode it has similar effect as setting this directly in app session. However clustered session use this value when recreated!

Returns:
the serverSessionListener

setServerSessionListener

void setServerSessionListener(ServerRxSessionListener serverSessionListener)
Set stack wide listener for sessions. In local mode it has similar effect as setting this directly in app session. However clustered session use this value when recreated!

Parameters:
serverSessionListener - the serverSessionListener to set

getServerContextListener

IServerRxSessionContext getServerContextListener()
Returns:
the serverContextListener

setServerContextListener

void setServerContextListener(IServerRxSessionContext serverContextListener)
Parameters:
serverContextListener - the serverContextListener to set

getClientContextListener

IClientRxSessionContext getClientContextListener()
Returns:
the clientContextListener

getMessageFactory

IRxMessageFactory getMessageFactory()
Returns:
the messageFactory

setMessageFactory

void setMessageFactory(IRxMessageFactory messageFactory)
Parameters:
messageFactory - the messageFactory to set

setClientContextListener

void setClientContextListener(IClientRxSessionContext clientContextListener)
Parameters:
clientContextListener - the clientContextListener to set

getStateListener

StateChangeListener<AppSession> getStateListener()
Returns:
the stateListener

setStateListener

void setStateListener(StateChangeListener<AppSession> stateListener)
Parameters:
stateListener - the stateListener to set


Copyright © 2014. All Rights Reserved.