|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.admin.extern.XmlBlasterConnector
XmlBlasterConnector is a tiny embedded xmlBlaster server instance. It is both publisher and subscriber to a topic. XmlBlasterConnector extracts MethodInvocation Object from the Message Unit and handles the invocation, stores the return value
| Field Summary | |
static int |
FINISHED
|
boolean |
jmxInterfaceAlive
|
static int |
SENDING
|
static int |
UNKNOWN
|
| Constructor Summary | |
XmlBlasterConnector()
|
|
| Method Summary | |
boolean |
isConnectorAlive()
Display internal status to Management |
void |
start(java.lang.String agentID)
Starts the connector - starts an embedded xmlBlaster that listens on port 3424 Subscribes to topic where MethodInvocations are placed Starts another (new!) MBeanServer |
void |
startEmbeddedXmlBlasterServer()
Start EmbeddedXmlBlaster |
void |
startInternal(javax.management.MBeanServer server)
Starts the connector - starts an embedded xmlBlaster that listens on port 3424 Subscribes to topic where MethodInvocations are placed Uses MBeanServer from JMXWrapper |
void |
stop(java.lang.String agentId)
Stop Service |
java.lang.String |
update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
update() is invoked, when a methodInvocation for the given key arrives MethodInvocation is deserialized, the method is invoked and the return value is stored (within the MethodInvocation Object) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int UNKNOWN
public static int SENDING
public static int FINISHED
public boolean jmxInterfaceAlive
| Constructor Detail |
public XmlBlasterConnector()
| Method Detail |
public void start(java.lang.String agentID)
start in interface XmlBlasterConnectorMBeanpublic void startInternal(javax.management.MBeanServer server)
startInternal in interface XmlBlasterConnectorMBeanpublic void startEmbeddedXmlBlasterServer()
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_XmlBlasterAccesspublic boolean isConnectorAlive()
isConnectorAlive in interface XmlBlasterConnectorMBeanpublic void stop(java.lang.String agentId)
stop in interface XmlBlasterConnectorMBean
|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||