Oracle Corp.

Oracle WebLogic Communications Server 10.1 API Reference


com.bea.wcp.diameter.accounting
Class ACR

java.lang.Object
  extended bycom.bea.wcp.diameter.Message
      extended bycom.bea.wcp.diameter.Request
          extended bycom.bea.wcp.diameter.accounting.ACR

public final class ACR
extends Request

Diameter Accounting-Request (ACR) message.

Copyright © 2008 Oracle Corp. All Rights Reserved.

Field Summary
 
Fields inherited from class com.bea.wcp.diameter.Message
FLAG_ERROR, FLAG_POTENTIALLY_RETRANSMITTED, FLAG_PROXIABLE, FLAG_REQUEST, FLAGS_MASK, HEADER_SIZE, VERSION
 
Method Summary
 int getAccountingRecordNumber()
          Returns the Accounting-Record-Number AVP value for this request.
 RecordType getAccountingRecordType()
          Returns the Accounting-Record-Type AVP value for this request.
 int getAcctInterimInterval()
          Returns the Acct-Interim-Interval AVP value for this request.
 void setAccountingRecordNumber(int n)
          Sets the Accounting-Record-Number AVP value for this request.
 void setAccountingRecordType(RecordType type)
          Sets the Accounting-Record-Type AVP value for this request.
 void setAcctInterimInterval(int interval)
          Sets the Acct-Interim-Interval AVP value for this request.
 
Methods inherited from class com.bea.wcp.diameter.Request
cancel, commit, createAnswer, createAnswer, getAnswer, getApplicationId, getDestinationHost, getDestinationPeers, getDestinationRealm, getSession, isAnswered, isCommitted, isThreadWaiting, preValidate, preValidateAvp, send, send, sendAndWait, sendAndWait, sendError, setAnswer, setApplicationId, setDestinationHost, setDestinationRealm, setIsPotentiallyRetransmitted, setSession, unsetDestinationHost
 
Methods inherited from class com.bea.wcp.diameter.Message
addAvp, addAvp, addAvp, decode, decodeAvps, encode, encode, getAppId, getAvp, getAvp, getAvpList, getCode, getCode, getCommand, getConnection, getEffectiveSessionId, getEndToEndId, getHopByHopId, getLength, getOriginHost, getOriginRealm, getSessionId, getVersion, isAnswer, isError, isPotentiallyRetransmitted, isProxiable, isRequest, toLoggableString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAccountingRecordNumber

public int getAccountingRecordNumber()
Returns the Accounting-Record-Number AVP value for this request.


getAccountingRecordType

public RecordType getAccountingRecordType()
Returns the Accounting-Record-Type AVP value for this request.


getAcctInterimInterval

public int getAcctInterimInterval()
Returns the Acct-Interim-Interval AVP value for this request.


setAccountingRecordNumber

public void setAccountingRecordNumber(int n)
Sets the Accounting-Record-Number AVP value for this request. This AVP is required for all accounting requests.

Parameters:
n - the request accounting record number

setAccountingRecordType

public void setAccountingRecordType(RecordType type)
Sets the Accounting-Record-Type AVP value for this request. Possible values are EVENT for event-based accounting, and START/INTERIM/STOP for session-based accounting. This AVP is required for all accounting requests.

Parameters:
type - the request accounting record type

setAcctInterimInterval

public void setAcctInterimInterval(int interval)
Sets the Acct-Interim-Interval AVP value for this request.

Parameters:
interval - the request accounting interim interval

Documentation is available at
http://e-docs.bea.com/wlcp/wlss40/
Copyright 2008 Oracle Corp.