org.jdiameter.api.acc.events
Interface AccountRequest

All Superinterfaces:
AppEvent, AppRequestEvent, java.io.Serializable

public interface AccountRequest
extends AppRequestEvent

An Account Request is a request from a client to a server

Version:
1.5.1 Final
Author:
erick.svenson@yahoo.com, Alexandre Mendonca , Bartosz Baranowski

Field Summary
static java.lang.String _LONG_NAME
           
static java.lang.String _SHORT_NAME
           
static int code
           
 
Method Summary
 long getAccountingRecordNumber()
           
 int getAccountingRecordType()
           
 void setAccountingRecordNumber(long number)
           
 void setAccountingRecordType(int recordType)
           
 
Methods inherited from interface org.jdiameter.api.app.AppRequestEvent
getDestinationHost, getDestinationRealm
 
Methods inherited from interface org.jdiameter.api.app.AppEvent
getCommandCode, getMessage, getOriginHost, getOriginRealm
 

Field Detail

_SHORT_NAME

static final java.lang.String _SHORT_NAME
See Also:
Constant Field Values

_LONG_NAME

static final java.lang.String _LONG_NAME
See Also:
Constant Field Values

code

static final int code
See Also:
Constant Field Values
Method Detail

getAccountingRecordType

int getAccountingRecordType()
                            throws AvpDataException
Returns:
Record type of request
Throws:
AvpDataException - if result code avp is not integer

getAccountingRecordNumber

long getAccountingRecordNumber()
                               throws AvpDataException
Returns:
record number
Throws:
AvpDataException - if result code avp is not integer

setAccountingRecordType

void setAccountingRecordType(int recordType)
                             throws AvpDataException
Parameters:
recordType -
Throws:
AvpDataException

setAccountingRecordNumber

void setAccountingRecordNumber(long number)
                               throws AvpDataException
Parameters:
number -
Throws:
AvpDataException


Copyright © 2013. All Rights Reserved.