public interface SessionCallback
Modifier and Type | Method and Description |
---|---|
void |
closed() |
void |
disconnect(ServerConsumer consumerId,
String queueName) |
boolean |
hasCredits(ServerConsumer consumerID)
This one gives a chance for Proton to have its own flow control.
|
boolean |
isWritable(ReadyListener callback) |
int |
sendLargeMessage(ServerMessage message,
ServerConsumer consumerID,
long bodySize,
int deliveryCount) |
int |
sendLargeMessageContinuation(ServerConsumer consumerID,
byte[] body,
boolean continues,
boolean requiresResponse) |
int |
sendMessage(ServerMessage message,
ServerConsumer consumerID,
int deliveryCount) |
void |
sendProducerCreditsFailMessage(int credits,
SimpleString address) |
void |
sendProducerCreditsMessage(int credits,
SimpleString address) |
boolean hasCredits(ServerConsumer consumerID)
void sendProducerCreditsMessage(int credits, SimpleString address)
void sendProducerCreditsFailMessage(int credits, SimpleString address)
int sendMessage(ServerMessage message, ServerConsumer consumerID, int deliveryCount)
int sendLargeMessage(ServerMessage message, ServerConsumer consumerID, long bodySize, int deliveryCount)
int sendLargeMessageContinuation(ServerConsumer consumerID, byte[] body, boolean continues, boolean requiresResponse)
void closed()
void disconnect(ServerConsumer consumerId, String queueName)
boolean isWritable(ReadyListener callback)
Copyright © 2016 JBoss by Red Hat. All rights reserved.