public abstract class TextWireFormat extends Object implements org.apache.activemq.wireformat.WireFormat
| Constructor and Description |
|---|
TextWireFormat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
inReceive() |
org.apache.activemq.util.ByteSequence |
marshal(Object command) |
void |
marshal(Object command,
DataOutput out) |
abstract String |
marshalText(Object command) |
Object |
unmarshal(org.apache.activemq.util.ByteSequence packet) |
Object |
unmarshal(DataInput in) |
abstract Object |
unmarshalText(Reader reader) |
abstract Object |
unmarshalText(String text) |
public TextWireFormat()
public abstract Object unmarshalText(String text) throws IOException
IOExceptionpublic abstract Object unmarshalText(Reader reader) throws IOException
IOExceptionpublic abstract String marshalText(Object command) throws IOException
IOExceptionpublic void marshal(Object command, DataOutput out) throws IOException
marshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic Object unmarshal(DataInput in) throws IOException
unmarshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic org.apache.activemq.util.ByteSequence marshal(Object command) throws IOException
marshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic Object unmarshal(org.apache.activemq.util.ByteSequence packet) throws IOException
unmarshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic boolean inReceive()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.