Oracle Server E10293-02 ユーザーズマニュアル

ページ / 108
Diameter Java Base Protocol API
A-2
Oracle Communication and Mobility Server Developer’s Guide
On its upper side, the Diameter Base Protocol library, provides an application 
registration mechanism. The specific application subclass AcctApplication can be 
derived by user depending on the state machine required to be used by the application 
to be implemented. Each Application object can implement its own session subclass. 
Specific session subclass (AuthSession and AcctSession) can be derived by user 
depending on the state machine (Authentication, Authorization or Accounting) 
implemented by the application.
On its lower side, the Diameter Base Protocol library also provides an API to interact 
with its transport modules. This API enables the user application to instantiate any 
subclass of the Transport class. These subclasses can be system dependant, and can 
provide any kind of transport protocols for Diameter. Diameter comes with a socket 
based transport module for TCP and SCTP kernel implementations in Unix-like 
environments.
The Diameter Base Protocol library also provides a direct Core interface. This API 
supports all the configuration needs, including dynamic realm-based routing table 
configuration, generic tracing and logging callbacks, external memory manager 
support, and dynamic dictionary extensibility.
Diameter Java Base Protocol API
The Diameter Java API is an API compliant with JAIN. The JAIN initiative represents 
a community of communications experts defining the necessary Java interfaces as an 
extension of the core Java platform to migrate proprietary communications networks 
to open standardized based networks. The Diameter Java API is a wrapping of 
Diameter C++ API.
This section defines the Java API for the Diameter Base Protocol. The Java interfaces 
and classes described in this part enable Java developers to build application based on 
the Diameter base protocol.
This Java API was designed in such a way that it is possible to provide several 
implementations of it. The next section will define and describe in details one of 
possible implementation: Rf Diameter Application.
Figure A–2
Oracle Diameter Java API Architecture
Through Diameter interfaces, a Diameter protocol stack provider is obtained from the 
factory, and Diameter listeners are then attached to the providers created by the 
Diameter stack.