net.java.slee.resource.diameter.ro
Interface RoServerSessionActivity

All Superinterfaces:
net.java.slee.resource.diameter.base.DiameterActivity, RoSessionActivity, java.io.Serializable
All Known Implementing Classes:
RoServerSessionActivityImpl

public interface RoServerSessionActivity
extends RoSessionActivity

An RoServerSessionActivity represents a charging control session for Credit Control servers. A single RoServerSessionActivity will be created for the Diameter session. All requests received for the session will be fired as events on the same RoServerSessionActivity.

Author:
Alexandre Mendonca , Bartosz Baranowski

Method Summary
 RoCreditControlAnswer createRoCreditControlAnswer()
          Create a Ro-specific Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.
 void sendReAuthRequest(net.java.slee.resource.diameter.base.events.ReAuthRequest rar)
           
 void sendRoCreditControlAnswer(RoCreditControlAnswer cca)
          Sends a Credit-Control-Answer message to the peer.
 
Methods inherited from interface net.java.slee.resource.diameter.ro.RoSessionActivity
getRoMessageFactory, getSessionId, getState
 
Methods inherited from interface net.java.slee.resource.diameter.base.DiameterActivity
endActivity, getDiameterAvpFactory, getDiameterMessageFactory, sendMessage
 

Method Detail

createRoCreditControlAnswer

RoCreditControlAnswer createRoCreditControlAnswer()
Create a Ro-specific Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.

Returns:
a new CreditControlAnswer

sendRoCreditControlAnswer

void sendRoCreditControlAnswer(RoCreditControlAnswer cca)
                               throws java.io.IOException
Sends a Credit-Control-Answer message to the peer.

Parameters:
cca - the CreditControlAnswer to send
Throws:
java.io.IOException - if an error occured sending the request to the peer

sendReAuthRequest

void sendReAuthRequest(net.java.slee.resource.diameter.base.events.ReAuthRequest rar)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.