public class ControlCarbonMessage extends BinaryCarbonMessage
CarbonMessage for control messages. This is used for control messages of a connection.
This is just a extend of BinaryCarbonMessage since all the methods are same for both.
This message type is useful when you need to send control messages for a given connection.CarbonMessage.ByteBufferInputStream, CarbonMessage.ByteBufferOutputStreamalreadyRead, bufferContent, byteBufferInputStream, faultHandlerStack, headers, lock, messageBody, messageDataSource, messagingException, nelException, properties| Constructor and Description |
|---|
ControlCarbonMessage(ByteBuffer bytes,
boolean finalFragment) |
isFinalFragment, readBytesaddMessageBody, getCopyOfFullMessageBody, getFaultHandlerStack, getFullMessageBody, getFullMessageLength, getHeader, getHeaders, getInputStream, getLock, getMessageBody, getMessageDataSource, getMessagingException, getNelException, getOutputStream, getProperties, getProperty, getWriter, isAlreadyRead, isBufferContent, isEmpty, isEndOfMsgAdded, isFaulty, release, removeHeader, removeProperty, setAlreadyRead, setBufferContent, setEndOfMsgAdded, setFaultHandlerStack, setHeader, setHeaders, setHeaders, setMessageDataSource, setMessagingException, setNelException, setProperty, setWriterpublic ControlCarbonMessage(ByteBuffer bytes, boolean finalFragment)
bytes - byte array of binary data.finalFragment - true if the message is the final fragment of the binary message. First fragment can
also be the final fragment.Copyright © 2017 WSO2. All rights reserved.