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

ページ / 108
Diameter Java Base Protocol API
Oracle Diameter Java APIs
A-3
Base Protocol Diameter Java Interface
The Diameter Java API is composed of several interfaces:
Diameter Factory
The DiameterFactory interface is used by the Diameter applications to obtain specific 
instances of different implementations of all interfaces defined in Diameter Java API. 
The only instance of the DiameterFactory can be obtained using the getInstance() 
method.
Diameter Stack
The DiameterStack interface represents a Diameter Protocol Stack as defined in [RFC 
3588]. This interface is used also to create providers, routes and listening points. A 
Diameter stack must be initialized and configured before any messages exchange (see 
section [6.2]).
Diameter Application
The DiameterProvider interface represents a Diameter Application (with one 
Authorization/Authentication Application ID or one Accounting Application ID) 
running on top of the Diameter base protocol.
The DiameterListener interface processes events that are triggered by an object 
implementing the DiameterProvider interface. There can be only one listener per 
provider. This interface must be implemented by the application programmer.
Diameter Transport
The DiameterRoute interface represents a route entry in the realm-based routing table. 
A Diameter client application calls the createDiameterRoute method to declare remote 
peers. 
The DiameterListeningPoint interface represents a local transport address for a 
Diameter stack and enables it to accept incoming connection from declared remote 
peers. 
Diameter AVPs
The DiameterMessageFactory interface provides factory methods that enable a 
Diameter application to create AVPs and messages for a particular implementation of 
this specification. 
AVPs are defined by the following class types:
DiameterFloat32AVP: represents a 32-bit float AVP
DiameterFloat64AVP: represents a 64-bit float AVP
DiameterInteger32AVP: represents a 32-bit integer AVP
DiameterInteger64AVP: represents a 64-bit integer AVP
DiameterGroupedAVP: represents a grouped AVP
DiameterOctetStringAVP: represents an AVP which value is a raw byte array
DiameterGenericAVP: represents an AVP which has not been declared in the 
protocol dictionary