org.mobicents.slee.resource.diameter.base.stack
Class StackProxy

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.stack.StackProxy
All Implemented Interfaces:
org.jdiameter.api.Stack, org.jdiameter.api.Wrapper

public class StackProxy
extends java.lang.Object
implements org.jdiameter.api.Stack


Field Summary
protected  org.jdiameter.api.Stack wrapped
           
 
Constructor Summary
StackProxy(org.jdiameter.api.Stack wrapped)
           
 
Method Summary
 void destroy()
           
 java.util.logging.Logger getLogger()
           
 org.jdiameter.api.MetaData getMetaData()
           
 org.jdiameter.api.SessionFactory getSessionFactory()
           
 org.jdiameter.api.SessionFactory init(org.jdiameter.api.Configuration config)
           
 boolean isActive()
           
 boolean isWrapperFor(java.lang.Class<?> iface)
           
 void start()
           
 void start(org.jdiameter.api.Mode mode, long timeout, java.util.concurrent.TimeUnit unit)
           
 void stop(long timeout, java.util.concurrent.TimeUnit unit)
           
<T> T
unwrap(java.lang.Class<T> iface)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrapped

protected org.jdiameter.api.Stack wrapped
Constructor Detail

StackProxy

public StackProxy(org.jdiameter.api.Stack wrapped)
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface org.jdiameter.api.Stack

getLogger

public java.util.logging.Logger getLogger()
Specified by:
getLogger in interface org.jdiameter.api.Stack

getMetaData

public org.jdiameter.api.MetaData getMetaData()
Specified by:
getMetaData in interface org.jdiameter.api.Stack

getSessionFactory

public org.jdiameter.api.SessionFactory getSessionFactory()
                                                   throws org.jdiameter.api.IllegalDiameterStateException
Specified by:
getSessionFactory in interface org.jdiameter.api.Stack
Throws:
org.jdiameter.api.IllegalDiameterStateException

init

public org.jdiameter.api.SessionFactory init(org.jdiameter.api.Configuration config)
                                      throws org.jdiameter.api.IllegalDiameterStateException,
                                             org.jdiameter.api.InternalException
Specified by:
init in interface org.jdiameter.api.Stack
Throws:
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.InternalException

isActive

public boolean isActive()
Specified by:
isActive in interface org.jdiameter.api.Stack

start

public void start()
           throws org.jdiameter.api.IllegalDiameterStateException,
                  org.jdiameter.api.InternalException
Specified by:
start in interface org.jdiameter.api.Stack
Throws:
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.InternalException

start

public void start(org.jdiameter.api.Mode mode,
                  long timeout,
                  java.util.concurrent.TimeUnit unit)
           throws org.jdiameter.api.IllegalDiameterStateException,
                  org.jdiameter.api.InternalException
Specified by:
start in interface org.jdiameter.api.Stack
Throws:
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.InternalException

stop

public void stop(long timeout,
                 java.util.concurrent.TimeUnit unit)
          throws org.jdiameter.api.IllegalDiameterStateException,
                 org.jdiameter.api.InternalException
Specified by:
stop in interface org.jdiameter.api.Stack
Throws:
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.InternalException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     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> iface)
         throws org.jdiameter.api.InternalException
Specified by:
unwrap in interface org.jdiameter.api.Wrapper
Throws:
org.jdiameter.api.InternalException


Copyright © 2008. All Rights Reserved.