org.jdiameter.client.impl
Class MetaDataImpl

java.lang.Object
  extended by org.jdiameter.client.impl.MetaDataImpl
All Implemented Interfaces:
org.jdiameter.api.MetaData, org.jdiameter.api.Wrapper, IMetaData
Direct Known Subclasses:
MetaDataImpl

public class MetaDataImpl
extends java.lang.Object
implements IMetaData

Use stack extension point


Nested Class Summary
protected  class MetaDataImpl.LocalPeer
           
 
Field Summary
protected  java.util.Set<org.jdiameter.api.ApplicationId> appIds
           
protected  MetaDataImpl.LocalPeer peer
           
protected  IContainer stack
           
protected  int state
           
 
Constructor Summary
MetaDataImpl(IContainer s)
           
 
Method Summary
 org.jdiameter.api.Configuration getConfiguration()
           
 int getLocalHostStateId()
          Return host state value
 MetaDataImpl.LocalPeer getLocalPeer()
           
 org.jdiameter.api.Peer getLocalPeerInfo()
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 org.jdiameter.api.StackType getStackType()
           
 boolean isWrapperFor(java.lang.Class<?> aClass)
           
<T> T
unwrap(java.lang.Class<T> aClass)
           
 void updateLocalHostStateId()
          Set new value of host state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

protected IContainer stack

state

protected int state

peer

protected MetaDataImpl.LocalPeer peer

appIds

protected java.util.Set<org.jdiameter.api.ApplicationId> appIds
Constructor Detail

MetaDataImpl

public MetaDataImpl(IContainer s)
Method Detail

getLocalPeer

public MetaDataImpl.LocalPeer getLocalPeer()
Specified by:
getLocalPeer in interface org.jdiameter.api.MetaData

getMajorVersion

public int getMajorVersion()
Specified by:
getMajorVersion in interface org.jdiameter.api.MetaData

getMinorVersion

public int getMinorVersion()
Specified by:
getMinorVersion in interface org.jdiameter.api.MetaData

getStackType

public org.jdiameter.api.StackType getStackType()
Specified by:
getStackType in interface org.jdiameter.api.MetaData

getLocalPeerInfo

public org.jdiameter.api.Peer getLocalPeerInfo()

getConfiguration

public org.jdiameter.api.Configuration getConfiguration()
Specified by:
getConfiguration in interface org.jdiameter.api.MetaData

updateLocalHostStateId

public void updateLocalHostStateId()
Description copied from interface: IMetaData
Set new value of host state

Specified by:
updateLocalHostStateId in interface IMetaData

getLocalHostStateId

public int getLocalHostStateId()
Description copied from interface: IMetaData
Return host state value

Specified by:
getLocalHostStateId in interface IMetaData
Returns:
host state value

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> aClass)
                     throws org.jdiameter.api.InternalException
Specified by:
isWrapperFor in interface org.jdiameter.api.Wrapper
Throws:
org.jdiameter.api.InternalException

unwrap

public <T> T unwrap(java.lang.Class<T> aClass)
         throws org.jdiameter.api.InternalException
Specified by:
unwrap in interface org.jdiameter.api.Wrapper
Throws:
org.jdiameter.api.InternalException


Copyright © 2008. All Rights Reserved.