public class BasicPublish extends MethodFrame
FRAME_END| Constructor and Description |
|---|
BasicPublish(int channel,
ShortString exchange,
ShortString routingKey,
boolean mandatory,
boolean immediate) |
| Modifier and Type | Method and Description |
|---|---|
ShortString |
getExchange()
Getter for exchange.
|
static AmqMethodBodyFactory |
getFactory() |
protected long |
getMethodBodySize() |
ShortString |
getRoutingKey()
Getter for routingKey.
|
void |
handle(io.netty.channel.ChannelHandlerContext ctx,
AmqpConnectionHandler connectionHandler) |
boolean |
isImmediate()
Getter for immediate.
|
boolean |
isMandatory()
Getter for mandatory.
|
protected void |
writeMethod(io.netty.buffer.ByteBuf buf) |
getPayloadSize, writePayloadgetChannel, writepublic BasicPublish(int channel,
ShortString exchange,
ShortString routingKey,
boolean mandatory,
boolean immediate)
protected long getMethodBodySize()
getMethodBodySize in class MethodFrameprotected void writeMethod(io.netty.buffer.ByteBuf buf)
writeMethod in class MethodFramepublic void handle(io.netty.channel.ChannelHandlerContext ctx,
AmqpConnectionHandler connectionHandler)
handle in class GeneralFramepublic ShortString getExchange()
public ShortString getRoutingKey()
public boolean isMandatory()
public boolean isImmediate()
public static AmqMethodBodyFactory getFactory()
Copyright © 2017 WSO2. All rights reserved.