Oracle Server E10293-02 Instrukcja Użytkownika Strona 85

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 108
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 84
Diameter Application Example
Oracle Diameter Java APIs A-21
Figure A–9 ACR Reception
10.
Create a client diameter session, an instance of DiameterSession, by using the
method: createClientDiameterAcctSession().
11. Send the created Accounting-Request (ACR) myACR to the server side by using
the method: sendMessage().
12. Process an incoming Accounting-Request (ACR) message contained in the
received event by using the following method: accountingRequestReceived(event).
Create a server session from the received request. This session, on server side, can
be deleted just after sending the answer.
Accounting-Answer (ACA) The Accounting Answer is created as follows:
Figure A–10 Creating the Corresponding ACA
13.
Get an instance of the DiameterRfMessageFactory class
myDiameterRfMessageFactory by using the method:
getDiameterRfMessageFactory() on the server side.
14. Create an Accounting Answer for the server side, an instance of the
DiameterMessage class, by using the method: createAccountingAnswer().
All incoming messages are delivered to the user accounting application through
the DiameterRfListener interface.
Przeglądanie stron 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 107 108

Komentarze do niniejszej Instrukcji

Brak uwag