org.jdiameter.common.impl.app.cxdx.test
Class StackCreator

java.lang.Object
  extended by org.jdiameter.common.impl.app.cxdx.test.StackCreator
All Implemented Interfaces:
org.jdiameter.api.Stack, org.jdiameter.api.Wrapper

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

Start time:14:20:55 2009-08-19
Project: diameter-parent-release

Author:
Bartosz Baranowski

Constructor Summary
StackCreator(java.lang.String stringConfig, org.jdiameter.api.NetworkReqListener eventListener, org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer> eventListener2, java.lang.String dooer)
           
 
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
 

Constructor Detail

StackCreator

public StackCreator(java.lang.String stringConfig,
                    org.jdiameter.api.NetworkReqListener eventListener,
                    org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer> eventListener2,
                    java.lang.String dooer)
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

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

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

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 © 2010. All Rights Reserved.