com.ibm.diameter.charging.util
Class SessionIdFactory

java.lang.Object
  extended by com.ibm.diameter.charging.util.SessionIdFactory

public class SessionIdFactory
extends java.lang.Object

Provides the ability to generate Diameter session ids.


Method Summary
static SessionIdFactory getRef()
          Singleton reference to SessionIdFactory object.
 java.lang.String getSessionId(byte[] origin_host)
          Obtains a newly created Diameter session id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRef

public static SessionIdFactory getRef()
Singleton reference to SessionIdFactory object.

Returns:
sessionIdFactory

getSessionId

public java.lang.String getSessionId(byte[] origin_host)
Obtains a newly created Diameter session id.

Parameters:
origin_host - Hostname to use in the sesion id.
Returns:
sessionId


Copyright © 2006 IBM Corp. All Rights Reserved.