public class Broker extends Object
Modifier | Constructor and Description |
---|---|
protected |
Broker() |
|
Broker(long addr) |
Modifier and Type | Method and Description |
---|---|
long |
getAddress() |
int |
publishMessage(Message message,
long moduleAddr)
|
public int publishMessage(Message message, long moduleAddr) throws IOException
moduleAddr
- The address of the pointer to the native module.message
- The serialized Message
to be published.IOException
- If the Message
cannot be serialized.public long getAddress()
Copyright © 2018. All rights reserved.