use of org.apache.qpid.server.protocol.v1_0.type.SaslFrameBody in project qpid-broker-j by apache.
the class AMQPConnection_1_0Impl method received.
private void received(int channel, Object val) {
if (channel > getChannelMax()) {
Error error = new Error(ConnectionError.FRAMING_ERROR, String.format("specified channel %d larger than maximum channel %d", channel, getChannelMax()));
handleError(error);
return;
}
FRAME_LOGGER.debug("RECV[{}|{}] : {}", _remoteAddress, channel, val);
if (val instanceof FrameBody) {
((FrameBody) val).invoke(channel, this);
} else if (val instanceof SaslFrameBody) {
((SaslFrameBody) val).invoke(channel, this);
}
}
use of org.apache.qpid.server.protocol.v1_0.type.SaslFrameBody in project qpid-broker-j by apache.
the class Interaction method sendPerformativeAndChainFuture.
private void sendPerformativeAndChainFuture(final SaslFrameBody frameBody) throws Exception {
SASLFrame transportFrame = new SASLFrame(frameBody);
sendPerformativeAndChainFuture(transportFrame);
}
Aggregations