|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.xmlBlaster.test.jmx.TestConnector
| Field Summary | |
private Global |
glob
|
private I_XmlBlasterAccess |
invokeCon
|
private static java.util.logging.Logger |
log
|
private static java.lang.String |
ME
|
(package private) MethodInvocation |
mi
|
private MsgUnit |
msg
|
private static java.lang.String |
port
|
private I_XmlBlasterAccess |
returnCon
|
private int |
serverPort
|
(package private) SerializeHelper |
sh
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
TestConnector(java.lang.String testName)
|
|
| Method Summary | |
protected void |
setUp()
|
static junit.framework.Test |
suite()
Method is used by TestRunner to load these tests |
void |
testConnector()
TEST: |
java.lang.String |
update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method invoked from xmlBlaster delivering us a new asynchronous message. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private final int serverPort
private static final java.lang.String ME
private Global glob
private static java.util.logging.Logger log
private I_XmlBlasterAccess returnCon
private I_XmlBlasterAccess invokeCon
private MsgUnit msg
private static java.lang.String port
SerializeHelper sh
MethodInvocation mi
| Constructor Detail |
public TestConnector(java.lang.String testName)
| Method Detail |
protected void setUp()
public static junit.framework.Test suite()
public void testConnector()
public java.lang.String update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
update in interface I_CallbackcbSessionId - The session ID specified by the client which registered the callback.
You can specify a cbSessionId during connection (with ConnectQos)
and this is bounced back here so you can authenticate the message.updateKey - The arrived key containing the topic namecontent - The arrived message content. This is your payload.I_Callback.update(String, UpdateKey, byte[], UpdateQos)
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||