org.apache.activemq.leveldb.record
Class SubscriptionRecord.Buffer
java.lang.Object
org.apache.activemq.leveldb.record.SubscriptionRecord.Buffer
- All Implemented Interfaces:
- SubscriptionRecord.Getter, org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>, org.fusesource.hawtbuf.proto.PBMessage<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Enclosing class:
- SubscriptionRecord
public static final class SubscriptionRecord.Buffer
- extends Object
- implements org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>, SubscriptionRecord.Getter
copy
public SubscriptionRecord.Bean copy()
- Specified by:
copy in interface SubscriptionRecord.Getter- Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
freeze
public SubscriptionRecord.Buffer freeze()
- Specified by:
freeze in interface SubscriptionRecord.Getter- Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
toString
public String toString()
- Overrides:
toString in class Object
toString
public StringBuilder toString(StringBuilder sb,
String prefix)
- Specified by:
toString in interface SubscriptionRecord.Getter
hasTopicKey
public boolean hasTopicKey()
- Specified by:
hasTopicKey in interface SubscriptionRecord.Getter
getTopicKey
public long getTopicKey()
- Specified by:
getTopicKey in interface SubscriptionRecord.Getter
hasClientId
public boolean hasClientId()
- Specified by:
hasClientId in interface SubscriptionRecord.Getter
getClientId
public String getClientId()
- Specified by:
getClientId in interface SubscriptionRecord.Getter
hasSubscriptionName
public boolean hasSubscriptionName()
- Specified by:
hasSubscriptionName in interface SubscriptionRecord.Getter
getSubscriptionName
public String getSubscriptionName()
- Specified by:
getSubscriptionName in interface SubscriptionRecord.Getter
hasSelector
public boolean hasSelector()
- Specified by:
hasSelector in interface SubscriptionRecord.Getter
getSelector
public String getSelector()
- Specified by:
getSelector in interface SubscriptionRecord.Getter
hasDestinationName
public boolean hasDestinationName()
- Specified by:
hasDestinationName in interface SubscriptionRecord.Getter
getDestinationName
public String getDestinationName()
- Specified by:
getDestinationName in interface SubscriptionRecord.Getter
toUnframedBuffer
public org.fusesource.hawtbuf.Buffer toUnframedBuffer()
- Specified by:
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
toFramedBuffer
public org.fusesource.hawtbuf.Buffer toFramedBuffer()
- Specified by:
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
toUnframedByteArray
public byte[] toUnframedByteArray()
- Specified by:
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
toFramedByteArray
public byte[] toFramedByteArray()
- Specified by:
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
writeFramed
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws IOException
- Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
IOException
writeFramed
public void writeFramed(OutputStream output)
throws IOException
- Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
IOException
writeUnframed
public void writeUnframed(OutputStream output)
throws IOException
- Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
IOException
writeUnframed
public void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws IOException
- Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
IOException
serializedSizeFramed
public int serializedSizeFramed()
- Specified by:
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
serializedSizeUnframed
public int serializedSizeUnframed()
- Specified by:
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
equals
public boolean equals(SubscriptionRecord.Buffer obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
frozen
public boolean frozen()
- Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.