public static final class SessionPB.Buffer extends Object implements org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>, SessionPB.Getter
public SessionPB.Bean copy()
copy in interface SessionPB.Gettercopy in interface org.fusesource.hawtbuf.proto.PBMessage<SessionPB.Bean,SessionPB.Buffer>public SessionPB.Buffer freeze()
freeze in interface SessionPB.Getterfreeze in interface org.fusesource.hawtbuf.proto.PBMessage<SessionPB.Bean,SessionPB.Buffer>public StringBuilder toString(StringBuilder sb, String prefix)
toString in interface SessionPB.Getterpublic boolean hasClientId()
hasClientId in interface SessionPB.Getterpublic org.fusesource.hawtbuf.UTF8Buffer getClientId()
getClientId in interface SessionPB.Getterpublic boolean hasSubscriptions()
hasSubscriptions in interface SessionPB.Getterpublic List<TopicPB.Getter> getSubscriptionsList()
getSubscriptionsList in interface SessionPB.Getterpublic int getSubscriptionsCount()
getSubscriptionsCount in interface SessionPB.Getterpublic TopicPB.Getter getSubscriptions(int index)
getSubscriptions in interface SessionPB.Getterpublic boolean hasReceivedMessageIds()
hasReceivedMessageIds in interface SessionPB.Getterpublic List<Integer> getReceivedMessageIdsList()
getReceivedMessageIdsList in interface SessionPB.Getterpublic int getReceivedMessageIdsCount()
getReceivedMessageIdsCount in interface SessionPB.Getterpublic Integer getReceivedMessageIds(int index)
getReceivedMessageIds in interface SessionPB.Getterpublic org.fusesource.hawtbuf.Buffer toUnframedBuffer()
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>public org.fusesource.hawtbuf.Buffer toFramedBuffer()
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>public byte[] toUnframedByteArray()
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>public byte[] toFramedByteArray()
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>IOExceptionpublic void writeFramed(OutputStream output) throws IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>IOExceptionpublic void writeUnframed(OutputStream output) throws IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>IOExceptionpublic void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>IOExceptionpublic int serializedSizeFramed()
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>public int serializedSizeUnframed()
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<SessionPB.Bean,SessionPB.Buffer>public boolean equals(SessionPB.Buffer obj)
public boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<SessionPB.Bean,SessionPB.Buffer>Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.