A B C D E F G H I J K L M N O P R S T U V W X Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDataObject - Class in de.haumacher.msgbuf.data
-
Base class for
DataObjectimplementations. - AbstractDataObject() - Constructor for class de.haumacher.msgbuf.data.AbstractDataObject
- AbstractSharedGraphNode - Class in de.haumacher.msgbuf.graph
-
Base class for generated code implementing
SharedGraphNodes. - AbstractSharedGraphNode() - Constructor for class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- add(int, T) - Method in class de.haumacher.msgbuf.util.ReferenceList
- add(T) - Method in class de.haumacher.msgbuf.util.ReferenceList
- addAll(int, Collection<? extends T>) - Method in class de.haumacher.msgbuf.util.ReferenceList
- addAll(Collection<? extends T>) - Method in class de.haumacher.msgbuf.util.ReferenceList
- afterRemove(int, T) - Method in class de.haumacher.msgbuf.util.ReferenceList
- afterRemove(Observable, String, int, Object) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- afterRemove(Observable, String, int, Object) - Method in interface de.haumacher.msgbuf.observer.Listener
-
Informs this
Listenerthat an element was removed from a repeated property with the given name. - afterRemove(Observable, String, int, Object) - Method in class de.haumacher.msgbuf.observer.Listener.MultiplexListener
- afterRemove(Observable, String, Object, Object) - Method in interface de.haumacher.msgbuf.observer.Listener
-
Informs this
Listenerthat an element was removed from a map property with the given name. - afterRemove(K, V) - Method in class de.haumacher.msgbuf.util.ReferenceMap
- appendDouble(Appendable, double) - Static method in class de.haumacher.msgbuf.coder.Coder
- appendFloat(Appendable, float) - Static method in class de.haumacher.msgbuf.coder.Coder
- appendInt(Appendable, int) - Static method in class de.haumacher.msgbuf.coder.Coder
- appendLong(Appendable, long) - Static method in class de.haumacher.msgbuf.coder.Coder
- appendString(Appendable, String) - Static method in class de.haumacher.msgbuf.coder.Coder
- appendUInt(Appendable, int) - Static method in class de.haumacher.msgbuf.coder.Coder
- applyChanges(JsonReader) - Method in class de.haumacher.msgbuf.graph.DefaultScope
-
Applies changes read from the given
JsonReader. - asList(Class<T>, Object) - Static method in class de.haumacher.msgbuf.util.Conversions
-
Checked conversion to a typed list.
B
- Base64Utils - Class in de.haumacher.msgbuf.json
-
A utility to decode and encode byte arrays as Strings, using only "safe" characters.
- Base64Utils() - Constructor for class de.haumacher.msgbuf.json.Base64Utils
- beforeAdd(int, T) - Method in class de.haumacher.msgbuf.util.ReferenceList
- beforeAdd(Observable, String, int, Object) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- beforeAdd(Observable, String, int, Object) - Method in interface de.haumacher.msgbuf.observer.Listener
-
Informs this
Listenerthat an element will be added to the repeated property with the given name. - beforeAdd(Observable, String, int, Object) - Method in class de.haumacher.msgbuf.observer.Listener.MultiplexListener
- beforeAdd(Observable, String, Object, Object) - Method in interface de.haumacher.msgbuf.observer.Listener
-
Informs this
Listenerthat an element will be added to the map property with the given name. - beforeAdd(K, V) - Method in class de.haumacher.msgbuf.util.ReferenceMap
- beforeSet(Observable, String, Object) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- beforeSet(Observable, String, Object) - Method in interface de.haumacher.msgbuf.observer.Listener
-
Informs this
Listenerthat the value of the given property is to be modified. - beforeSet(Observable, String, Object) - Method in class de.haumacher.msgbuf.observer.Listener.MultiplexListener
- BEGIN_ARRAY - de.haumacher.msgbuf.json.JsonToken
-
The opening of a JSON array.
- BEGIN_OBJECT - de.haumacher.msgbuf.json.JsonToken
-
The opening of a JSON object.
- beginArray() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Starts reading an array.
- beginArray() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- beginArray() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the beginning of a new array.
- beginArray() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Begins encoding a new array.
- beginArray(DataType, int) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Starts writing an array value with entries of the given type.
- beginArray(DataType, int) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- beginObject() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Starts reading an object.
- beginObject() - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Starts writing an object.
- beginObject() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- beginObject() - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- beginObject() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the beginning of a new object.
- beginObject() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Begins encoding a new object.
- BINARY - de.haumacher.msgbuf.binary.DataType
-
Binary string values.
- BinaryDataObject - Interface in de.haumacher.msgbuf.binary
-
DataObjectthat supports creating binary messages. - BinaryUtil - Class in de.haumacher.msgbuf.binary
-
Utilities for binary value encoding.
- BinaryUtil() - Constructor for class de.haumacher.msgbuf.binary.BinaryUtil
- BOOLEAN - de.haumacher.msgbuf.json.JsonToken
-
A JSON
trueorfalse.
C
- clear() - Method in class de.haumacher.msgbuf.util.ReferenceList
- clear() - Method in class de.haumacher.msgbuf.util.ReferenceMap
- close() - Method in interface de.haumacher.msgbuf.io.Reader
-
Closes the stream and releases any system resources associated with it.
- close() - Method in class de.haumacher.msgbuf.io.StringR
- close() - Method in class de.haumacher.msgbuf.io.StringW
- close() - Method in interface de.haumacher.msgbuf.io.Writer
-
Closes the stream, flushing it first.
- close() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Closes this JSON reader and the underlying
Reader. - close() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Flushes and closes this writer and the underlying
Writer. - close() - Method in class de.haumacher.msgbuf.server.io.ReaderAdapter
- close() - Method in class de.haumacher.msgbuf.server.io.WriterAdapter
- CodedIn - Class in de.haumacher.msgbuf.coder
-
TODO
- CodedIn(Reader) - Constructor for class de.haumacher.msgbuf.coder.CodedIn
-
Creates a
CodedIn. - CodedOut - Class in de.haumacher.msgbuf.coder
-
TODO
- CodedOut(Appendable) - Constructor for class de.haumacher.msgbuf.coder.CodedOut
-
Creates a
CodedOut. - Coder - Class in de.haumacher.msgbuf.coder
-
Run-length encoding and decoding of Java primitive types into a stream of characters.
- Coder() - Constructor for class de.haumacher.msgbuf.coder.Coder
- Command - Class in de.haumacher.msgbuf.graph.cmd
-
Base class of commands that encode changes to data objects.
- Command() - Constructor for class de.haumacher.msgbuf.graph.cmd.Command
-
Creates a
Commandinstance. - Command.TypeKind - Enum in de.haumacher.msgbuf.graph.cmd
-
Type codes for the
Commandhierarchy. - Command.Visitor<R,A,E extends Throwable> - Interface in de.haumacher.msgbuf.graph.cmd
-
Visitor interface for the
Commandhierarchy. - Conversions - Class in de.haumacher.msgbuf.util
-
Utilities for value conversions.
- Conversions() - Constructor for class de.haumacher.msgbuf.util.Conversions
- create() - Static method in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Creates a
InsertElementinstance. - create() - Static method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
-
Creates a
RemoveElementinstance. - create() - Static method in class de.haumacher.msgbuf.graph.cmd.SetProperty
-
Creates a
SetPropertyinstance. - createPatch(JsonWriter) - Method in class de.haumacher.msgbuf.graph.DefaultScope
-
Exports recorded changes to the given
JsonWriter.
D
- DataObject - Interface in de.haumacher.msgbuf.data
-
Common interface for all
msgbufgenerated data objects. - DataReader - Interface in de.haumacher.msgbuf.binary
-
Input interface for reading binary messages into data objects.
- DataType - Enum in de.haumacher.msgbuf.binary
-
Declaration of the content-type of an array value.
- DataWriter - Interface in de.haumacher.msgbuf.binary
-
Output interface for creating binary messages out of data objects.
- de.haumacher.msgbuf - module de.haumacher.msgbuf
-
MsgBuf API module.
- de.haumacher.msgbuf.binary - package de.haumacher.msgbuf.binary
- de.haumacher.msgbuf.coder - package de.haumacher.msgbuf.coder
- de.haumacher.msgbuf.data - package de.haumacher.msgbuf.data
- de.haumacher.msgbuf.graph - package de.haumacher.msgbuf.graph
- de.haumacher.msgbuf.graph.cmd - package de.haumacher.msgbuf.graph.cmd
- de.haumacher.msgbuf.io - package de.haumacher.msgbuf.io
- de.haumacher.msgbuf.json - package de.haumacher.msgbuf.json
-
Copy of the package `com.google.gson.stream` from gson-2.8.2 library for JSON stream writing.
- de.haumacher.msgbuf.observer - package de.haumacher.msgbuf.observer
- de.haumacher.msgbuf.server.io - package de.haumacher.msgbuf.server.io
- de.haumacher.msgbuf.util - package de.haumacher.msgbuf.util
- de.haumacher.msgbuf.xml - package de.haumacher.msgbuf.xml
- DefaultScope - Class in de.haumacher.msgbuf.graph
-
The default
Scopeof anAbstractSharedGraphNode. - DefaultScope(int, int) - Constructor for class de.haumacher.msgbuf.graph.DefaultScope
-
Creates a
DefaultScope. - DOUBLE - de.haumacher.msgbuf.binary.DataType
-
doublevalues.
E
- ELEMENT - Static variable in class de.haumacher.msgbuf.graph.cmd.InsertElement
- END_ARRAY - de.haumacher.msgbuf.json.JsonToken
-
The closing of a JSON array.
- END_DOCUMENT - de.haumacher.msgbuf.json.JsonToken
-
The end of the JSON stream.
- END_OBJECT - de.haumacher.msgbuf.json.JsonToken
-
The closing of a JSON object.
- endArray() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Finishes reading the array started with
DataReader.beginArray(). - endArray() - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Stops writing the array started with the last call to
DataWriter.beginObject(). - endArray() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- endArray() - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- endArray() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the end of the current array.
- endArray() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Ends encoding the current array.
- endObject() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Finishes reading the object started with the last call to
DataReader.beginObject(). - endObject() - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Finishes writing the fields of the object started with the last call to
DataWriter.beginObject(). - endObject() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- endObject() - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- endObject() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the end of the current object.
- endObject() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Ends encoding the current object.
- enter(SharedGraphNode, int) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- enter(SharedGraphNode, int) - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
-
Assigns the given ID to the given node.
F
- FINT - de.haumacher.msgbuf.binary.DataType
-
Fixed size 32 bit
intvalues. - FLOAT - de.haumacher.msgbuf.binary.DataType
-
floatvalues. - FLONG - de.haumacher.msgbuf.binary.DataType
-
Fixed size 64 bit
longvalues. - flush() - Method in class de.haumacher.msgbuf.io.StringW
- flush() - Method in interface de.haumacher.msgbuf.io.Writer
-
Flushes the stream.
- flush() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Ensures all buffered data is written to the underlying
Writerand flushes that writer. - flush() - Method in class de.haumacher.msgbuf.server.io.WriterAdapter
- fromBase64(String) - Static method in class de.haumacher.msgbuf.json.Base64Utils
-
Decode a base64 string into a byte array.
G
- get(String) - Method in interface de.haumacher.msgbuf.data.ReflectiveDataObject
-
Retrieves value of the field with the given name.
- get(String) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- get(String) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- get(String) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- getElement() - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Cache for the actual value that was inserted to the given
ListUpdate.getIndex(). - getId() - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
The network ID of the changed object.
- getIndex() - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
The list index that is modified.
- getNext() - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Pointer to chain updates for the same property.
- getNode() - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
Cache for the reference to the changed graph node itself.
- getPath() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns a JsonPath to the current location in the JSON value.
- getProperty() - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
The name of the changed property of the object with the given
Command.getId(). - getSerializeNulls() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Returns true if object members are serialized when their value is null.
- getXmlTagName() - Method in interface de.haumacher.msgbuf.xml.XmlSerializable
-
The tag name used to
write this objectas top-level element in an XML document.
H
- hasElement() - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Checks, whether
InsertElement.getElement()has a value. - hasNext() - Method in interface de.haumacher.msgbuf.binary.DataReader
- hasNext() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- hasNext() - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Checks, whether
ListUpdate.getNext()has a value. - hasNext() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns true if the current array or object has another element.
- hasNode() - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
Checks, whether
Command.getNode()has a value.
I
- id() - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
-
The ID of this node in it's default
Scope. - id(SharedGraphNode) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- id(SharedGraphNode) - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
-
Looks up the ID of the given node in this
Scope. - ID - Static variable in class de.haumacher.msgbuf.graph.cmd.Command
- ID__ID - Static variable in class de.haumacher.msgbuf.graph.cmd.Command
-
Identifier for the property
Command.getId()in binary format. - In - Interface in de.haumacher.msgbuf.coder
-
TODO
- index() - Method in class de.haumacher.msgbuf.graph.DefaultScope
- index() - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
-
The index implementation associating object with IDs.
- INDEX - Static variable in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- INDEX__ID - Static variable in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Identifier for the property
ListUpdate.getIndex()in binary format. - initId(int) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
-
Assigns the given ID.
- initId(SharedGraphNode, int) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- initId(SharedGraphNode, int) - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
-
Assigns the given ID to the given node.
- INSERT_ELEMENT - de.haumacher.msgbuf.graph.cmd.Command.TypeKind
-
Type literal for
InsertElement. - INSERT_ELEMENT__TYPE - Static variable in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Identifier for the
InsertElementtype in JSON format. - INSERT_ELEMENT__TYPE_ID - Static variable in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Identifier for the
InsertElementtype in binary format. - InsertElement - Class in de.haumacher.msgbuf.graph.cmd
-
An insert operation to a list value.
- InsertElement() - Constructor for class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Creates a
InsertElementinstance. - INT - de.haumacher.msgbuf.binary.DataType
-
Unsined
intvalues. - isHtmlSafe() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Returns true if this writer writes JSON that's safe for inclusion in HTML and XML documents.
- isLenient() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns true if this parser is liberal in what it accepts.
- isLenient() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Returns true if this writer has relaxed syntax rules.
J
- JsonReader - Class in de.haumacher.msgbuf.json
-
Reads a JSON (RFC 7159) encoded value as a stream of tokens.
- JsonReader(Reader) - Constructor for class de.haumacher.msgbuf.json.JsonReader
-
Creates a new instance that reads a JSON-encoded stream from
in. - JsonToken - Enum in de.haumacher.msgbuf.json
-
A structure, name or value type in a JSON-encoded string.
- jsonType() - Method in interface de.haumacher.msgbuf.data.ReflectiveDataObject
-
The type identifier for this concrete sub-type.
- jsonType() - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- jsonType() - Method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
- jsonType() - Method in class de.haumacher.msgbuf.graph.cmd.SetProperty
- JsonUtil - Class in de.haumacher.msgbuf.json
-
Utilities for reading and writing JSON.
- JsonUtil() - Constructor for class de.haumacher.msgbuf.json.JsonUtil
- jsonValue(String) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Writes
valuedirectly to the writer without quoting or escaping. - JsonWriter - Class in de.haumacher.msgbuf.json
-
Writes a JSON (RFC 7159) encoded value to a stream, one token at a time.
- JsonWriter(Writer) - Constructor for class de.haumacher.msgbuf.json.JsonWriter
-
Creates a new instance that writes a JSON-encoded stream to
out.
K
- kind() - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
The type code of this instance.
- kind() - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- kind() - Method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
- kind() - Method in class de.haumacher.msgbuf.graph.cmd.SetProperty
L
- Listener - Interface in de.haumacher.msgbuf.observer
-
A listener observing an
Observableobject. - Listener.MultiplexListener - Class in de.haumacher.msgbuf.observer
- ListUpdate - Class in de.haumacher.msgbuf.graph.cmd
-
Base class for operations internally changing the values of repeated properties.
- ListUpdate() - Constructor for class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Creates a
ListUpdateinstance. - ListUpdate.Visitor<R,A,E extends Throwable> - Interface in de.haumacher.msgbuf.graph.cmd
-
Visitor interface for the
ListUpdatehierarchy. - LONG - de.haumacher.msgbuf.binary.DataType
-
Unsined
longvalues. - longFromBase64(String) - Static method in class de.haumacher.msgbuf.json.Base64Utils
-
Decode a base64 string into a long value.
M
- MalformedJsonException - Exception in de.haumacher.msgbuf.json
-
Thrown when a reader encounters malformed JSON.
- MalformedJsonException(String) - Constructor for exception de.haumacher.msgbuf.json.MalformedJsonException
- MalformedJsonException(String, Throwable) - Constructor for exception de.haumacher.msgbuf.json.MalformedJsonException
- MalformedJsonException(Throwable) - Constructor for exception de.haumacher.msgbuf.json.MalformedJsonException
- MultiplexListener(Listener, Listener) - Constructor for class de.haumacher.msgbuf.observer.Listener.MultiplexListener
-
Creates a
Listener.MultiplexListener.
N
- name(int) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes an identifier of a field fo the currently written object.
- name(int) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- name(String) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes the property name.
- NAME - de.haumacher.msgbuf.json.JsonToken
-
A JSON property name.
- newClientInstance() - Static method in class de.haumacher.msgbuf.graph.DefaultScope
-
Creates a
DefaultScopefor the client , where the graph is only shared between two participants, theclientand theserver. - newId() - Method in class de.haumacher.msgbuf.graph.DefaultScope
- newId() - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
-
Creates a fresh ID.
- newServerInstance() - Static method in class de.haumacher.msgbuf.graph.DefaultScope
-
Creates a
DefaultScopefor the server, where the graph is only shared between two participants, theclientand the server. - NEXT - Static variable in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- nextBinary() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a binary string value.
- nextBinary() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextBinaryOptional(JsonReader) - Static method in class de.haumacher.msgbuf.json.JsonUtil
-
Reads a byte array or a
nullvalue from the given reader. - nextBinaryStream() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a binary stream value.
- nextBinaryStream() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextBoolean() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a boolean value.
- nextBoolean() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the
booleanvalue of the next token, consuming it. - nextDouble() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a 64 bit double value.
- nextDouble() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextDouble() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the
doublevalue of the next token, consuming it. - nextFloat() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a 32 bit float value.
- nextFloat() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextInt() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads an (unsigned) integer value.
- nextInt() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextInt() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the
intvalue of the next token, consuming it. - nextIntFixed() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a full 32 bit integer value.
- nextIntFixed() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextIntSigned() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a signed integer value.
- nextIntSigned() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextLong() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads an (unsigned) long value.
- nextLong() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextLong() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the
longvalue of the next token, consuming it. - nextLongFixed() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a full 64 bit long value.
- nextLongFixed() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextLongSigned() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads a signed long value.
- nextLongSigned() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextName() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
When
reading an object, retrieves the next field identifier. - nextName() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextName() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the next token, a
property name, and consumes it. - nextNull() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is a literal null.
- nextString() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Reads an utf-8
Stringvalue. - nextString() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- nextString() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the
stringvalue of the next token, consuming it. - nextStringOptional(JsonReader) - Static method in class de.haumacher.msgbuf.json.JsonUtil
-
Reads a string or a
nullvalue from the given reader. - NODE - Static variable in class de.haumacher.msgbuf.graph.cmd.Command
- NONE - Static variable in interface de.haumacher.msgbuf.observer.Listener
-
A
Listenerignoring all events. - NULL - de.haumacher.msgbuf.json.JsonToken
-
A JSON
null. - nullValue() - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
null. - NUMBER - de.haumacher.msgbuf.json.JsonToken
-
A JSON number represented in this API by a Java
double,long, orint.
O
- OBJECT - de.haumacher.msgbuf.binary.DataType
-
Object values.
- Observable - Interface in de.haumacher.msgbuf.observer
-
ReflectiveDataObjectwhose properties can be observed. - OctetDataReader - Class in de.haumacher.msgbuf.binary
-
DataReaderthat reconstructs values written with aOctetDataWriter. - OctetDataReader(InputStream) - Constructor for class de.haumacher.msgbuf.binary.OctetDataReader
-
Creates a
OctetDataReader. - OctetDataWriter - Class in de.haumacher.msgbuf.binary
-
DataWriterthat encodes into a stream of octets (8 bit byte values). - OctetDataWriter(OutputStream) - Constructor for class de.haumacher.msgbuf.binary.OctetDataWriter
-
Creates a
OctetDataWriter. - Out - Interface in de.haumacher.msgbuf.coder
-
TODO
P
- peek() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Returns the type of the next token without consuming it.
- properties() - Method in interface de.haumacher.msgbuf.data.ReflectiveDataObject
-
All properties that are supported by this object.
- properties() - Method in class de.haumacher.msgbuf.graph.cmd.Command
- properties() - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- properties() - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- PROPERTY - Static variable in class de.haumacher.msgbuf.graph.cmd.Command
- PROPERTY__ID - Static variable in class de.haumacher.msgbuf.graph.cmd.Command
-
Identifier for the property
Command.getProperty()in binary format. - ProtocolEnum - Interface in de.haumacher.msgbuf.data
-
Common interface for all enums used in protocol definitions.
- protocolName() - Method in interface de.haumacher.msgbuf.data.ProtocolEnum
-
The value to use in the protocol (e.g.
- put(K, V) - Method in class de.haumacher.msgbuf.util.ReferenceMap
- putAll(Map<? extends K, ? extends V>) - Method in class de.haumacher.msgbuf.util.ReferenceMap
R
- read() - Method in interface de.haumacher.msgbuf.io.Reader
-
Reads a single character.
- read() - Method in class de.haumacher.msgbuf.io.StringR
- read() - Method in class de.haumacher.msgbuf.server.io.ReaderAdapter
- read(char[], int, int) - Method in interface de.haumacher.msgbuf.io.Reader
-
Reads characters into a portion of an array.
- read(char[], int, int) - Method in class de.haumacher.msgbuf.io.StringR
- read(char[], int, int) - Method in class de.haumacher.msgbuf.server.io.ReaderAdapter
- readBytes() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readBytes() - Method in interface de.haumacher.msgbuf.coder.In
- readCommand(DataReader) - Static method in class de.haumacher.msgbuf.graph.cmd.Command
-
Reads a new instance from the given reader.
- readCommand(JsonReader) - Static method in class de.haumacher.msgbuf.graph.cmd.Command
-
Reads a new instance from the given reader.
- readContent(JsonReader) - Method in class de.haumacher.msgbuf.data.AbstractDataObject
- readContent(JsonReader) - Method in interface de.haumacher.msgbuf.data.DataObject
-
Reads a JSON object containing keys for all fields of this object.
- readData(SharedGraphNode, int, JsonReader) - Method in class de.haumacher.msgbuf.graph.DefaultScope
- readData(SharedGraphNode, int, JsonReader) - Method in interface de.haumacher.msgbuf.graph.Scope
-
Reads object data of the given node and assigns the given ID to this node.
- readData(SharedGraphNode, int, JsonReader) - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
- readDouble() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readDouble() - Method in interface de.haumacher.msgbuf.coder.In
- readDouble(Reader) - Static method in class de.haumacher.msgbuf.coder.Coder
- readElement(Scope, JsonReader, String) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- readElement(Scope, JsonReader, String) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Read an element of the repeated field with the given name.
- Reader - Interface in de.haumacher.msgbuf.io
-
A character stream reader.
- ReaderAdapter - Class in de.haumacher.msgbuf.server.io
- ReaderAdapter(Reader) - Constructor for class de.haumacher.msgbuf.server.io.ReaderAdapter
-
Creates a
ReaderAdapter. - readField(DataReader, int) - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
Consumes the value for the field with the given ID and assigns its value.
- readField(DataReader, int) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- readField(DataReader, int) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- readField(Scope, JsonReader, String) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- readField(Scope, JsonReader, String) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Reads the given field from the given input.
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.data.AbstractDataObject
-
Reads the given field from the given input.
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- readFields(Scope, JsonReader) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- readFields(Scope, JsonReader) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Reads all fields of this instance from the given input.
- readFields(JsonReader) - Method in class de.haumacher.msgbuf.data.AbstractDataObject
-
Reads all fields of this instance from the given input.
- readFloat() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readFloat() - Method in interface de.haumacher.msgbuf.coder.In
- readFloat(Reader) - Static method in class de.haumacher.msgbuf.coder.Coder
- readInsertElement(DataReader) - Static method in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Reads a new instance from the given reader.
- readInsertElement(JsonReader) - Static method in class de.haumacher.msgbuf.graph.cmd.InsertElement
-
Reads a new instance from the given reader.
- readInt() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readInt() - Method in interface de.haumacher.msgbuf.coder.In
- readInt(Reader) - Static method in class de.haumacher.msgbuf.coder.Coder
- readListUpdate(DataReader) - Static method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Reads a new instance from the given reader.
- readListUpdate(JsonReader) - Static method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Reads a new instance from the given reader.
- readLong() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readLong() - Method in interface de.haumacher.msgbuf.coder.In
- readLong(Reader) - Static method in class de.haumacher.msgbuf.coder.Coder
- readRemoveElement(DataReader) - Static method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
-
Reads a new instance from the given reader.
- readRemoveElement(JsonReader) - Static method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
-
Reads a new instance from the given reader.
- readSetProperty(DataReader) - Static method in class de.haumacher.msgbuf.graph.cmd.SetProperty
-
Reads a new instance from the given reader.
- readSetProperty(JsonReader) - Static method in class de.haumacher.msgbuf.graph.cmd.SetProperty
-
Reads a new instance from the given reader.
- readString() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readString() - Method in interface de.haumacher.msgbuf.coder.In
- readString(Reader) - Static method in class de.haumacher.msgbuf.coder.Coder
- readUInt() - Method in class de.haumacher.msgbuf.coder.CodedIn
- readUInt() - Method in interface de.haumacher.msgbuf.coder.In
- readUInt(Reader) - Static method in class de.haumacher.msgbuf.coder.Coder
- ReferenceList<T> - Class in de.haumacher.msgbuf.util
-
Listimplementing a repeated property of a data object that has a reverse end. - ReferenceList() - Constructor for class de.haumacher.msgbuf.util.ReferenceList
- ReferenceMap<K,V> - Class in de.haumacher.msgbuf.util
-
Mapimplementing a map-valued property of a data object that has a reverse end. - ReferenceMap() - Constructor for class de.haumacher.msgbuf.util.ReferenceMap
- ReflectiveDataObject - Interface in de.haumacher.msgbuf.data
-
An object with generically accessible properties.
- register(Listener) - Method in class de.haumacher.msgbuf.observer.Listener.MultiplexListener
- register(Listener, Listener) - Static method in interface de.haumacher.msgbuf.observer.Listener
- registerListener(Listener) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- registerListener(Listener) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- registerListener(Listener) - Method in interface de.haumacher.msgbuf.observer.Observable
-
Attaches the given
Listenerto this object. - remove(int) - Method in class de.haumacher.msgbuf.util.ReferenceList
- remove(Object) - Method in class de.haumacher.msgbuf.util.ReferenceList
- remove(Object) - Method in class de.haumacher.msgbuf.util.ReferenceMap
- remove(Object, Object) - Method in class de.haumacher.msgbuf.util.ReferenceMap
- REMOVE_ELEMENT - de.haumacher.msgbuf.graph.cmd.Command.TypeKind
-
Type literal for
RemoveElement. - REMOVE_ELEMENT__TYPE - Static variable in class de.haumacher.msgbuf.graph.cmd.RemoveElement
-
Identifier for the
RemoveElementtype in JSON format. - REMOVE_ELEMENT__TYPE_ID - Static variable in class de.haumacher.msgbuf.graph.cmd.RemoveElement
-
Identifier for the
RemoveElementtype in binary format. - removeAll(Collection<?>) - Method in class de.haumacher.msgbuf.util.ReferenceList
- RemoveElement - Class in de.haumacher.msgbuf.graph.cmd
-
The removal of an element of a list value.
- RemoveElement() - Constructor for class de.haumacher.msgbuf.graph.cmd.RemoveElement
-
Creates a
RemoveElementinstance. - resolveOrFail(int) - Method in interface de.haumacher.msgbuf.graph.Scope
-
Looks up the object with the given ID.
- resolveOrFail(int) - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
- retainAll(Collection<?>) - Method in class de.haumacher.msgbuf.util.ReferenceList
S
- Scope - Interface in de.haumacher.msgbuf.graph
-
API for resolving cross-references in serialized object graphs.
- ScopeMixin - Interface in de.haumacher.msgbuf.graph
-
Scopeimplementation that can be mixed in to another class. - set(String, Object) - Method in interface de.haumacher.msgbuf.data.ReflectiveDataObject
-
Sets the value of the property with the given name.
- set(String, Object) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- set(String, Object) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- set(String, Object) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- SET_PROPERTY - de.haumacher.msgbuf.graph.cmd.Command.TypeKind
-
Type literal for
SetProperty. - SET_PROPERTY__TYPE - Static variable in class de.haumacher.msgbuf.graph.cmd.SetProperty
-
Identifier for the
SetPropertytype in JSON format. - SET_PROPERTY__TYPE_ID - Static variable in class de.haumacher.msgbuf.graph.cmd.SetProperty
-
Identifier for the
SetPropertytype in binary format. - setElement(Object) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- setHtmlSafe(boolean) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Configure this writer to emit JSON that's safe for direct inclusion in HTML and XML documents.
- setId(int) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- setIndent(String) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Sets the indentation string to be repeated for each level of indentation in the encoded document.
- setIndex(int) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- setLenient(boolean) - Method in class de.haumacher.msgbuf.json.JsonReader
-
Configure this parser to be liberal in what it accepts.
- setLenient(boolean) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Configure this writer to relax its syntax rules.
- setNext(ListUpdate) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- setNode(SharedGraphNode) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- setProperty(String) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- SetProperty - Class in de.haumacher.msgbuf.graph.cmd
-
An operation setting the value of a property to a new value.
- SetProperty() - Constructor for class de.haumacher.msgbuf.graph.cmd.SetProperty
-
Creates a
SetPropertyinstance. - setSerializeNulls(boolean) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Sets whether object members are serialized when their value is null.
- SharedGraphNode - Interface in de.haumacher.msgbuf.graph
-
Object in a shared graph.
- SINT - de.haumacher.msgbuf.binary.DataType
-
sined
intvalues. - skipValue() - Method in interface de.haumacher.msgbuf.binary.DataReader
-
Skips the current value to read.
- skipValue() - Method in class de.haumacher.msgbuf.binary.OctetDataReader
- skipValue() - Method in class de.haumacher.msgbuf.json.JsonReader
-
Skips the next value recursively.
- SLONG - de.haumacher.msgbuf.binary.DataType
-
Sined
longvalues. - STRING - de.haumacher.msgbuf.binary.DataType
-
Stringvalues. - STRING - de.haumacher.msgbuf.json.JsonToken
-
A JSON string.
- StringR - Class in de.haumacher.msgbuf.io
- StringR(String) - Constructor for class de.haumacher.msgbuf.io.StringR
-
Creates a
StringR. - StringW - Class in de.haumacher.msgbuf.io
- StringW() - Constructor for class de.haumacher.msgbuf.io.StringW
T
- toBase64(byte[]) - Static method in class de.haumacher.msgbuf.json.Base64Utils
-
Converts a byte array into a base 64 encoded string.
- toBase64(long) - Static method in class de.haumacher.msgbuf.json.Base64Utils
-
Return a string containing a base-64 encoded version of the given long value.
- toString() - Method in class de.haumacher.msgbuf.data.AbstractDataObject
- toString() - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- toString() - Method in class de.haumacher.msgbuf.io.StringW
- toString() - Method in class de.haumacher.msgbuf.json.JsonReader
- typeId() - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
The binary identifier for this concrete type in the polymorphic
Commandhierarchy. - typeId() - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- typeId() - Method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
- typeId() - Method in class de.haumacher.msgbuf.graph.cmd.SetProperty
U
- unregister(Listener) - Method in class de.haumacher.msgbuf.observer.Listener.MultiplexListener
- unregister(Listener, Listener) - Static method in interface de.haumacher.msgbuf.observer.Listener
- unregisterListener(Listener) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- unregisterListener(Listener) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- unregisterListener(Listener) - Method in interface de.haumacher.msgbuf.observer.Observable
-
Removes the given
Listenerfrom this object.
V
- value(boolean) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a
booleanvalue. - value(boolean) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
value. - value(byte[]) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a binary string value.
- value(byte[]) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- value(double) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a
doublevalue. - value(double) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- value(double) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
value. - value(float) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a
floatvalue. - value(float) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- value(int) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes an unsigned
intvalue. - value(int) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- value(long) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes an unsigned
longvalue. - value(long) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- value(long) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
value. - value(Boolean) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
value. - value(Number) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
value. - value(String) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a
Stringvalue inutf-8encoding. - value(String) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- value(String) - Method in class de.haumacher.msgbuf.json.JsonWriter
-
Encodes
value. - valueBinaryStream() - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Starts writing a binary value of arbitrary length in chunked mode.
- valueBinaryStream() - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- valueFixed(int) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a fixed size 32 bit
intvalue. - valueFixed(int) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- valueFixed(long) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a fixed size 64 bit
longvalue. - valueFixed(long) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- valueOf(String) - Static method in enum de.haumacher.msgbuf.binary.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.haumacher.msgbuf.graph.cmd.Command.TypeKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.haumacher.msgbuf.json.JsonToken
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.haumacher.msgbuf.binary.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.haumacher.msgbuf.graph.cmd.Command.TypeKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.haumacher.msgbuf.json.JsonToken
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueSigned(int) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a signed
intvalue. - valueSigned(int) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- valueSigned(long) - Method in interface de.haumacher.msgbuf.binary.DataWriter
-
Writes a signed
longvalue. - valueSigned(long) - Method in class de.haumacher.msgbuf.binary.OctetDataWriter
- visit(Command.Visitor<R, A, E>, A) - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
Accepts the given visitor.
- visit(Command.Visitor<R, A, E>, A) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- visit(Command.Visitor<R, A, E>, A) - Method in class de.haumacher.msgbuf.graph.cmd.SetProperty
- visit(InsertElement, A) - Method in interface de.haumacher.msgbuf.graph.cmd.ListUpdate.Visitor
-
Visit case for
InsertElement. - visit(ListUpdate.Visitor<R, A, E>, A) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- visit(ListUpdate.Visitor<R, A, E>, A) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
-
Accepts the given visitor.
- visit(ListUpdate.Visitor<R, A, E>, A) - Method in class de.haumacher.msgbuf.graph.cmd.RemoveElement
- visit(RemoveElement, A) - Method in interface de.haumacher.msgbuf.graph.cmd.ListUpdate.Visitor
-
Visit case for
RemoveElement. - visit(SetProperty, A) - Method in interface de.haumacher.msgbuf.graph.cmd.Command.Visitor
-
Visit case for
SetProperty.
W
- write(char) - Method in class de.haumacher.msgbuf.io.StringW
- write(char) - Method in interface de.haumacher.msgbuf.io.Writer
-
Writes a single character.
- write(char) - Method in class de.haumacher.msgbuf.server.io.WriterAdapter
- write(String) - Method in class de.haumacher.msgbuf.io.StringW
- write(String) - Method in interface de.haumacher.msgbuf.io.Writer
-
Writes a string.
- write(String, int, int) - Method in class de.haumacher.msgbuf.io.StringW
- write(String, int, int) - Method in interface de.haumacher.msgbuf.io.Writer
-
Writes a portion of a string.
- write(String, int, int) - Method in class de.haumacher.msgbuf.server.io.WriterAdapter
- writeBinaryOptional(JsonWriter, byte[]) - Static method in class de.haumacher.msgbuf.json.JsonUtil
-
Writes the given byte array as Base64 encoded string.
- writeBytes(byte[]) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeBytes(byte[]) - Method in interface de.haumacher.msgbuf.coder.Out
- writeContent(JsonWriter) - Method in class de.haumacher.msgbuf.data.AbstractDataObject
- writeContent(JsonWriter) - Method in interface de.haumacher.msgbuf.data.DataObject
-
Writes a JSON object containing keys for all fields of this object.
- writeContent(XMLStreamWriter) - Method in interface de.haumacher.msgbuf.xml.XmlSerializable
-
Writes the contents of this object (attributes and sub-elements) to XML.
- writeData(Scope, JsonWriter, int) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- writeData(Scope, JsonWriter, int) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Writes the complete data of this node including type and ID to the given writer.
- writeDouble(double) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeDouble(double) - Method in interface de.haumacher.msgbuf.coder.Out
- writeElement(Scope, JsonWriter, String, Object) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- writeElement(Scope, JsonWriter, String, Object) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Writes the given element value that is compatible with the repeated field with the given name to the given output.
- writeFields(DataWriter) - Method in class de.haumacher.msgbuf.graph.cmd.Command
-
Serializes all fields of this instance to the given binary output.
- writeFields(DataWriter) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- writeFields(DataWriter) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- writeFields(Scope, JsonWriter) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
-
Writes all fields of this instance to the given output.
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.data.AbstractDataObject
-
Writes all fields of this instance to the given output.
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.graph.cmd.InsertElement
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.graph.cmd.ListUpdate
- writeFieldValue(Scope, JsonWriter, String) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- writeFieldValue(Scope, JsonWriter, String) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Writes a single value that is currently assigned to the field with the given name to the given writer.
- writeFloat(float) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeFloat(float) - Method in interface de.haumacher.msgbuf.coder.Out
- writeInt(int) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeInt(int) - Method in interface de.haumacher.msgbuf.coder.Out
- writeLong(long) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeLong(long) - Method in interface de.haumacher.msgbuf.coder.Out
- Writer - Interface in de.haumacher.msgbuf.io
-
A character stream producer.
- WriterAdapter - Class in de.haumacher.msgbuf.server.io
- WriterAdapter(Writer) - Constructor for class de.haumacher.msgbuf.server.io.WriterAdapter
-
Creates a
WriterAdapter. - writeRefOrData(JsonWriter, SharedGraphNode) - Method in interface de.haumacher.msgbuf.graph.Scope
-
Writes the given graph node to the given writer.
- writeRefOrData(JsonWriter, SharedGraphNode) - Method in interface de.haumacher.msgbuf.graph.ScopeMixin
- writeString(String) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeString(String) - Method in interface de.haumacher.msgbuf.coder.Out
- writeTo(DataWriter) - Method in interface de.haumacher.msgbuf.binary.BinaryDataObject
-
Writes the content of this
DataObjectto the given binary output. - writeTo(DataWriter) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- writeTo(Scope, JsonWriter) - Method in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- writeTo(Scope, JsonWriter) - Method in interface de.haumacher.msgbuf.graph.SharedGraphNode
-
Writes this node to the given writer.
- writeTo(JsonWriter) - Method in interface de.haumacher.msgbuf.data.DataObject
-
Writes this instance to the given output.
- writeTo(JsonWriter) - Method in class de.haumacher.msgbuf.graph.cmd.Command
- writeTo(XMLStreamWriter) - Method in interface de.haumacher.msgbuf.xml.XmlSerializable
-
Serializes this object to XML.
- writeUInt(int) - Method in class de.haumacher.msgbuf.coder.CodedOut
- writeUInt(int) - Method in interface de.haumacher.msgbuf.coder.Out
X
- XmlSerializable - Interface in de.haumacher.msgbuf.xml
-
Optional interface implemented by
DataObjects that support XML serialization.
Z
- zigzagDecode(int) - Static method in class de.haumacher.msgbuf.binary.BinaryUtil
-
Decodes the result of
BinaryUtil.zigzagEncode(int)to its original signed value. - zigzagDecode(long) - Static method in class de.haumacher.msgbuf.binary.BinaryUtil
-
Decodes the result of
BinaryUtil.zigzagEncode(long)to its original signed value. - zigzagEncode(int) - Static method in class de.haumacher.msgbuf.binary.BinaryUtil
-
Zig-zag encodes the given
intproducing a small positive number for inputs with small absolute value. - zigzagEncode(long) - Static method in class de.haumacher.msgbuf.binary.BinaryUtil
-
Zig-zag encodes the given
longproducing a small positive number for inputs with small absolute value.
_
- _listener - Variable in class de.haumacher.msgbuf.graph.AbstractSharedGraphNode
- _listener - Variable in class de.haumacher.msgbuf.graph.cmd.Command
All Classes All Packages