public interface MessageStreamWriter
Modifier and Type | Method and Description |
---|---|
boolean |
tryClose() |
void |
write(String topic,
Object msg) |
void |
writeByteAsInt(int byteToWrite) |
void |
writeBytes(byte[] bytes) |
void |
writeReply(int reqId,
String reqTopic,
Object replyMsg) |
void |
writeRequest(int reqId,
String reqTopic,
Object req) |
void |
writeSubscription(int msgType,
String subject,
Charset charset) |
void writeByteAsInt(int byteToWrite) throws IOException
IOException
void write(String topic, Object msg) throws IOException
IOException
void writeRequest(int reqId, String reqTopic, Object req) throws IOException
IOException
void writeBytes(byte[] bytes) throws IOException
IOException
boolean tryClose()
void writeReply(int reqId, String reqTopic, Object replyMsg) throws IOException
IOException
void writeSubscription(int msgType, String subject, Charset charset) throws IOException
IOException
Copyright © 2016. All Rights Reserved.