public abstract class TextWireFormat extends java.lang.Object implements WireFormat
| Constructor and Description |
|---|
TextWireFormat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
inReceive() |
ByteSequence |
marshal(java.lang.Object command) |
void |
marshal(java.lang.Object command,
java.io.DataOutput out) |
abstract java.lang.String |
marshalText(java.lang.Object command) |
java.lang.Object |
unmarshal(ByteSequence packet) |
java.lang.Object |
unmarshal(java.io.DataInput in) |
abstract java.lang.Object |
unmarshalText(java.io.Reader reader) |
abstract java.lang.Object |
unmarshalText(java.lang.String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVersion, setVersionpublic abstract java.lang.Object unmarshalText(java.lang.String text)
throws java.io.IOException
java.io.IOExceptionpublic abstract java.lang.Object unmarshalText(java.io.Reader reader)
throws java.io.IOException
java.io.IOExceptionpublic abstract java.lang.String marshalText(java.lang.Object command)
throws java.io.IOException
java.io.IOExceptionpublic void marshal(java.lang.Object command,
java.io.DataOutput out)
throws java.io.IOException
marshal in interface WireFormatjava.io.IOExceptionpublic java.lang.Object unmarshal(java.io.DataInput in)
throws java.io.IOException
unmarshal in interface WireFormatjava.io.IOExceptionpublic ByteSequence marshal(java.lang.Object command) throws java.io.IOException
marshal in interface WireFormatjava.io.IOExceptionpublic java.lang.Object unmarshal(ByteSequence packet) throws java.io.IOException
unmarshal in interface WireFormatjava.io.IOExceptionpublic boolean inReceive()
Copyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.