Oracle Server E10293-02 Instrukcja Użytkownika Strona 87

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 108
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 86
Programming Oracle Diameter Applications B-1
B
Programming Oracle Diameter Applications
This appendix describes programming Oracle Diameter applications in the following
sections:
"IP and Routes Configuration"
"Counters Management"
"Dictionary"
"Tracing and Logging Mechanism"
IP and Routes Configuration
Before a Java Diameter application is able to process messages exchanged with a
distant peer, the IP configuration and Diameter protocol-specific configuration have to
be done by the application as follows:
1. Create a DiameterStack instance.
2. Register the Diameter application to the Diameter stack.
3. Create listening points to bind to local transport addresses.
4. Configure routes and connect to Diameter peers.
Creating a Diameter Stack
An instance of the Diameter stack can be created as follows:
import oracle.sdp.diameter.*;
DiameterFactory myFactory;
DiameterStack myStack;
myFactory = DiameterFactory.getInstance();
myStack = myFactory.createDiameterStack(
"
realm.domain.com
"
,
"
server.realm.domain.com
"
,
null);
This code creates a Diameter stack for use by the local Diameter node in which Fully
Qualified Domain Name (FQDN) is server.realm.domain.com and Origin Realm
is realm.domain.net.
Binding to Local Transport Addresses
When a Diameter application needs to listen for incoming connections on one or
several transport addresses, it has to create one or several instances of the
DiameterListeningPoint interface:
Przeglądanie stron 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 107 108

Komentarze do niniejszej Instrukcji

Brak uwag