xmlBlaster 2.2.0 API

org.xmlBlaster.test.util
Class PtPDestination

java.lang.Object
  extended by org.xmlBlaster.test.util.PtPDestination

public class PtPDestination
extends java.lang.Object

PtPDestination is a helper class when testing ptp destinations

Author:
Michele Laghi

Field Summary
private  Global global
           
(package private)  java.util.logging.Logger log
           
private  SessionName sessionName
           
private  MsgInterceptor updateInterceptor
           
 
Constructor Summary
PtPDestination(Global parentGlobal, java.lang.String sessionName)
           
 
Method Summary
 void check(long timeout, int expected)
           
 I_XmlBlasterAccess getConnection()
           
 SessionName getSessionName()
           
 MsgInterceptor getUpdateInterceptor()
           
 void init(boolean wantsPtP, boolean shutdownCb, long cbMaxEntries, long cbMaxEntriesCache, long subjMaxEntries, long subjMaxEntriesCache)
           
 void shutdown(boolean doDisconnect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

global

private Global global

updateInterceptor

private MsgInterceptor updateInterceptor

sessionName

private SessionName sessionName

log

java.util.logging.Logger log
Constructor Detail

PtPDestination

public PtPDestination(Global parentGlobal,
                      java.lang.String sessionName)
Method Detail

init

public void init(boolean wantsPtP,
                 boolean shutdownCb,
                 long cbMaxEntries,
                 long cbMaxEntriesCache,
                 long subjMaxEntries,
                 long subjMaxEntriesCache)
          throws XmlBlasterException
Throws:
XmlBlasterException

shutdown

public void shutdown(boolean doDisconnect)

getSessionName

public SessionName getSessionName()

getConnection

public I_XmlBlasterAccess getConnection()

getUpdateInterceptor

public MsgInterceptor getUpdateInterceptor()

check

public void check(long timeout,
                  int expected)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.