|
Oracle Corp. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wcp.diameter.Node
Diameter Node implementation. Support both client and server-based Diameter applications as well as relay applications.
Field Summary | |
MessageDebugBean |
msgDebugBean
|
Method Summary | |
static Node |
createNode(java.io.File configFile)
Creates a new Diameter Node instance for the specified configuration. |
boolean |
deliverToSession(Message msg,
Session session)
Deliver message to specified session. |
void |
dispatchThreadAnswer(Request req,
Answer ans)
|
Application |
getApplication(ApplicationId id)
Returns the application for the specified application identifier. |
Application |
getApplication(int idNum)
Returns the application for the specified application id number. |
ConfigurationBean |
getConfiguration()
Returns the ConfigurationBean for the node |
java.lang.String |
getHost()
Returns the origin host for the node |
java.net.InetAddress |
getListenAddress()
Returns the Node listen address |
Provider |
getProvider()
|
java.lang.String |
getRealm()
Returns the origin realm for the node |
boolean |
isRunning()
Returns true if the Node is currently running. |
static void |
main(java.lang.String[] args)
Starts the Diameter Node for the specified command line arguments. |
void |
start()
Starts the Diameter Node instance. |
void |
stop()
Stops the Diameter Node instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public MessageDebugBean msgDebugBean
Method Detail |
public static Node createNode(java.io.File configFile) throws java.io.IOException, DiameterException
configFile
- the diameter.xml configuration file
java.io.IOException
- if an I/O error occurred reading the configuration
DiameterException
- if the Node could not be initializedpublic boolean deliverToSession(Message msg, Session session)
msg
- the message to be deliveredsession
- the session to receive the messagepublic void dispatchThreadAnswer(Request req, Answer ans)
public Application getApplication(ApplicationId id)
id
- the ApplicationId for the application
public Application getApplication(int idNum)
idNum
- the application's numeric identifier
public ConfigurationBean getConfiguration()
public java.lang.String getHost()
public java.net.InetAddress getListenAddress()
public Provider getProvider()
public java.lang.String getRealm()
public boolean isRunning()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- Diameter Node command line arguments
java.lang.Exception
- if an error occurs while starting the nodepublic void start() throws java.io.IOException
java.io.IOException
- if an I/O error occurred while startingpublic void stop() throws java.io.IOException
java.io.IOException
- if an I/O error occurred while stopping the node
|
Documentation is available at http://e-docs.bea.com/wlcp/wlss40/ Copyright 2008 Oracle Corp. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |