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 java.lang.Object
- implements org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>, SubscriptionRecord.Getter
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb,
java.lang.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 java.lang.String getClientId()
- Specified by:
getClientId in interface SubscriptionRecord.Getter
hasSubscriptionName
public boolean hasSubscriptionName()
- Specified by:
hasSubscriptionName in interface SubscriptionRecord.Getter
getSubscriptionName
public java.lang.String getSubscriptionName()
- Specified by:
getSubscriptionName in interface SubscriptionRecord.Getter
hasSelector
public boolean hasSelector()
- Specified by:
hasSelector in interface SubscriptionRecord.Getter
getSelector
public java.lang.String getSelector()
- Specified by:
getSelector in interface SubscriptionRecord.Getter
hasDestinationName
public boolean hasDestinationName()
- Specified by:
hasDestinationName in interface SubscriptionRecord.Getter
getDestinationName
public java.lang.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 java.io.IOException
- Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
java.io.IOException
writeFramed
public void writeFramed(java.io.OutputStream output)
throws java.io.IOException
- Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
java.io.IOException
writeUnframed
public void writeUnframed(java.io.OutputStream output)
throws java.io.IOException
- Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
java.io.IOException
writeUnframed
public void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
- Throws:
java.io.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(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(SubscriptionRecord.Buffer obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
frozen
public boolean frozen()
- Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<SubscriptionRecord.Bean,SubscriptionRecord.Buffer>
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.