org.jdiameter.client.impl
Class MetaDataImpl
java.lang.Object
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
|
Field Summary |
protected java.util.Set<org.jdiameter.api.ApplicationId> |
appIds
|
protected java.util.List<java.lang.management.MemoryPoolMXBean> |
beans
|
protected IPeer |
peer
|
protected IContainer |
stack
|
protected int |
state
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beans
protected java.util.List<java.lang.management.MemoryPoolMXBean> beans
stack
protected IContainer stack
state
protected int state
peer
protected IPeer peer
appIds
protected java.util.Set<org.jdiameter.api.ApplicationId> appIds
MetaDataImpl
public MetaDataImpl(IContainer s)
MetaDataImpl
public MetaDataImpl(IContainer s,
IStatisticFactory statisticFactory)
newLocalPeer
protected IPeer newLocalPeer(IStatisticFactory statisticFactory)
getLocalPeer
public org.jdiameter.api.Peer 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 © 2010. All Rights Reserved.