| Package | Description |
|---|---|
| org.zbus.remoting | |
| org.zbus.remoting.callback | |
| org.zbus.remoting.ticket |
| Modifier and Type | Method and Description |
|---|---|
static Message |
Message.copyWithoutBody(Message msg) |
Message |
RemotingClient.invokeSync(Message req) |
Message |
RemotingClient.invokeSync(Message req,
int timeout) |
Message |
Message.setBody(String format,
Object... args) |
Message |
Message.setCommand(String value) |
Message |
Message.setEncoding(String encoding) |
Message |
Message.setMq(String mq) |
Message |
Message.setMqReply(String value) |
Message |
Message.setMsgId(String msgId) |
Message |
Message.setMsgIdRaw(String value) |
Message |
Message.setReplyCode(String value) |
Message |
Message.setStatus(String status) |
Message |
Message.setSubCommand(String value) |
Message |
Message.setToken(String token) |
Message |
Message.setTopic(String topic) |
Message |
Message.setWindow(int window) |
| Modifier and Type | Method and Description |
|---|---|
static Message |
Message.copyWithoutBody(Message msg) |
String |
ServerEventAdaptor.findHandlerKey(Message msg) |
void |
MessageHandler.handleMessage(Message msg,
Session sess) |
void |
RemotingClient.invokeAsync(Message req,
ResultCallback callback) |
Message |
RemotingClient.invokeSync(Message req) |
Message |
RemotingClient.invokeSync(Message req,
int timeout) |
void |
RemotingClient.send(Message msg)
asynchronous send message, return message fall into client's callback
异步发送消息,消息没有Ticket匹配,由Client的消息回调处理
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageCallback.onMessage(Message msg,
Session sess) |
| Modifier and Type | Method and Description |
|---|---|
Message |
Ticket.request() |
Message |
Ticket.response() |
| Modifier and Type | Method and Description |
|---|---|
static Ticket |
TicketManager.createTicket(Message req,
long timeout) |
static Ticket |
TicketManager.createTicket(Message req,
long timeout,
ResultCallback callback) |
void |
Ticket.notifyResponse(Message response) |
void |
ResultCallback.onCompleted(Message result) |
| Constructor and Description |
|---|
Ticket(Message request,
long timeout) |
Copyright © 2015. All rights reserved.