Search in sources :

Example 11 with MessageId

use of io.fabric8.gateway.handlers.detecting.protocol.openwire.command.MessageId in project fabric8 by jboss-fuse.

the class MessageIdMarshaller method tightMarshal1.

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    MessageId info = (MessageId) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, (DataStructure) info.getProducerId(), bs);
    rc += tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
    rc += tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
    return rc + 0;
}
Also used : DataStructure(io.fabric8.gateway.handlers.detecting.protocol.openwire.command.DataStructure) MessageId(io.fabric8.gateway.handlers.detecting.protocol.openwire.command.MessageId)

Aggregations

MessageId (io.fabric8.gateway.handlers.detecting.protocol.openwire.command.MessageId)5 BrokerId (io.fabric8.gateway.handlers.detecting.protocol.openwire.command.BrokerId)2 Message (io.fabric8.gateway.handlers.detecting.protocol.openwire.command.Message)2 MessageAck (io.fabric8.gateway.handlers.detecting.protocol.openwire.command.MessageAck)2 MessageDispatchNotification (io.fabric8.gateway.handlers.detecting.protocol.openwire.command.MessageDispatchNotification)2 DataStructure (io.fabric8.gateway.handlers.detecting.protocol.openwire.command.DataStructure)1