Class KahaSubscriptionCommand
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
org.apache.activemq.store.kahadb.data.KahaSubscriptionCommand
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaSubscriptionCommand>,JournalCommand<KahaSubscriptionCommand>
public final class KahaSubscriptionCommand
extends org.apache.activemq.protobuf.BaseMessage<T>
implements JournalCommand<KahaSubscriptionCommand>
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidvoidvoidclone()booleanbooleanbooleanorg.apache.activemq.protobuf.BufferbooleaninthashCode()booleanbooleanbooleanmergeFrom(KahaSubscriptionCommand other) mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) static KahaSubscriptionCommandparseFramed(byte[] data) static KahaSubscriptionCommandparseFramed(InputStream data) static KahaSubscriptionCommandparseFramed(org.apache.activemq.protobuf.Buffer data) static KahaSubscriptionCommandparseFramed(org.apache.activemq.protobuf.CodedInputStream data) static KahaSubscriptionCommandparseUnframed(byte[] data) static KahaSubscriptionCommandparseUnframed(InputStream data) static KahaSubscriptionCommandparseUnframed(org.apache.activemq.protobuf.Buffer data) static KahaSubscriptionCommandparseUnframed(org.apache.activemq.protobuf.CodedInputStream data) intsetDestination(KahaDestination destination) setRetroactive(boolean retroactive) setSubscriptionInfo(org.apache.activemq.protobuf.Buffer subscriptionInfo) setSubscriptionKey(String subscriptionKey) toString()toString(StringBuilder sb, String prefix) type()voidvoidwriteUnframed(org.apache.activemq.protobuf.CodedOutputStream output) Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.activemq.protobuf.Message
assertInitialized, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeUnframed
-
Constructor Details
-
KahaSubscriptionCommand
public KahaSubscriptionCommand()
-
-
Method Details
-
missingFields
- Overrides:
missingFieldsin classorg.apache.activemq.protobuf.BaseMessage<KahaSubscriptionCommand>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.activemq.protobuf.Message<KahaSubscriptionCommand>- Overrides:
clearin classorg.apache.activemq.protobuf.BaseMessage<KahaSubscriptionCommand>
-
clone
- Specified by:
clonein interfaceorg.apache.activemq.protobuf.Message<KahaSubscriptionCommand>- Specified by:
clonein classorg.apache.activemq.protobuf.BaseMessage<KahaSubscriptionCommand>
-
mergeFrom
- Specified by:
mergeFromin interfaceorg.apache.activemq.protobuf.Message<KahaSubscriptionCommand>- Overrides:
mergeFromin classorg.apache.activemq.protobuf.BaseMessage<KahaSubscriptionCommand>
-
serializedSizeUnframed
public int serializedSizeUnframed()- Specified by:
serializedSizeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaSubscriptionCommand>
-
mergeUnframed
public KahaSubscriptionCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException - Specified by:
mergeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaSubscriptionCommand>- Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaSubscriptionCommand>- Overrides:
writeUnframedin classorg.apache.activemq.protobuf.BaseMessage<KahaSubscriptionCommand>- Throws:
IOException
-
parseUnframed
public static KahaSubscriptionCommand parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseUnframed
public static KahaSubscriptionCommand parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaSubscriptionCommand parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaSubscriptionCommand parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaSubscriptionCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaSubscriptionCommand parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaSubscriptionCommand parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaSubscriptionCommand parseFramed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
toString
-
toString
-
visit
- Specified by:
visitin interfaceJournalCommand<KahaSubscriptionCommand>- Throws:
IOException
-
type
- Specified by:
typein interfaceJournalCommand<KahaSubscriptionCommand>
-
equals
-
equals
-
hashCode
public int hashCode() -
hasDestination
public boolean hasDestination() -
getDestination
-
setDestination
-
clearDestination
public void clearDestination() -
hasSubscriptionKey
public boolean hasSubscriptionKey() -
getSubscriptionKey
-
setSubscriptionKey
-
clearSubscriptionKey
public void clearSubscriptionKey() -
hasRetroactive
public boolean hasRetroactive() -
getRetroactive
public boolean getRetroactive() -
setRetroactive
-
clearRetroactive
public void clearRetroactive() -
hasSubscriptionInfo
public boolean hasSubscriptionInfo() -
getSubscriptionInfo
public org.apache.activemq.protobuf.Buffer getSubscriptionInfo() -
setSubscriptionInfo
public KahaSubscriptionCommand setSubscriptionInfo(org.apache.activemq.protobuf.Buffer subscriptionInfo) -
clearSubscriptionInfo
public void clearSubscriptionInfo()
-