| Package | Description |
|---|---|
| org.jdiameter.api | |
| org.jdiameter.api.app |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationId |
ApplicationId.createByAccAppId(long acchAppId)
Create instance of ApplicationId use Accounting-Applicaion-Id
|
static ApplicationId |
ApplicationId.createByAccAppId(long vendorId,
long acchAppId)
Create instance of ApplicationId use Accounting-Applicaion-Id and Vendor-Id
|
static ApplicationId |
ApplicationId.createByAuthAppId(long authAppId)
Create instance of ApplicationId use Authentication-App-Id
|
static ApplicationId |
ApplicationId.createByAuthAppId(long vendorId,
long authAppId)
Create instance of ApplicationId use Authentication-App-Id and Vendor-Id
|
ApplicationId |
Realm.getApplicationId()
Return applicationId associated with this realm
|
| Modifier and Type | Method and Description |
|---|---|
List<ApplicationId> |
Message.getApplicationIdAvps()
Returns ordered list of Application-Id avps (Auth-Application-Id, Acc-Appplication-Id and Vendor-Specific-Application-Id avps) from message
|
Set<ApplicationId> |
Peer.getCommonApplications() |
| Modifier and Type | Method and Description |
|---|---|
void |
Network.addNetworkReqListener(NetworkReqListener listener,
ApplicationId... applicationId)
Register listener for processing network requests
|
Realm |
RealmTable.addRealm(String realmName,
ApplicationId applicationId,
LocalAction action,
String agentConfiguration,
boolean dynamic,
long expirationTime,
String[] hosts)
Add new realm to realm table
|
Message |
RawSession.createMessage(int commandCode,
ApplicationId applicationId,
Avp... avp)
Returns a new message object with the specified command code, applicationId
and predefined avps.
|
Message |
RawSession.createMessage(int commandCode,
ApplicationId applicationId,
long hopByHopIdentifier,
long endToEndIdentifier,
Avp... avp)
Returns a new message object with the predefined Command-code, ApplicationId, HopByHopIdentifier, EndToEndIdentifier
This method allow created message from storage or created specific message.
|
Request |
Session.createRequest(int commandCode,
ApplicationId appId,
String destRealm)
Returns a new Request object with the specified command code, applicationId, realm
and predefined system avps.
|
Request |
Session.createRequest(int commandCode,
ApplicationId appId,
String destRealm,
String destHost)
Returns a new Request object with the specified command code, applicationId, realm, host
and predefined system avps.
|
<T extends AppSession> |
SessionFactory.getNewAppSession(ApplicationId applicationId,
Class<? extends AppSession> userSession)
Create new vendor specific application session
Use this method for create specific application sessions
Example: ClientShSession session = factory.getNewSession(appId, ClientShSession.class)
|
<T extends AppSession> |
SessionFactory.getNewAppSession(String sessionId,
ApplicationId applicationId,
Class<? extends AppSession> userSession)
Create new vendor specific application session with predefined sessionId, origination host/realm names.
|
void |
OverloadManager.parentAppOverloadCeased(ApplicationId id,
int type)
Notifies stack that parent application has overload cased
|
void |
OverloadManager.parentAppOverloadDetected(ApplicationId id,
int type,
double value)
Notify stack that parent application has overload
|
void |
Network.removeNetworkReqListener(ApplicationId... applicationId)
Remove request listener
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
AppSession.getSessionAppId()
Return current value of applicationId of application session.
|
Copyright © 2016. All Rights Reserved.