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
IOException
public abstract Object unmarshalText(Reader reader) throws IOException
IOException
public abstract String marshalText(Object command) throws IOException
IOException
public void marshal(Object command, DataOutput out) throws IOException
marshal
in interface org.apache.activemq.wireformat.WireFormat
IOException
public Object unmarshal(DataInput in) throws IOException
unmarshal
in interface org.apache.activemq.wireformat.WireFormat
IOException
public org.apache.activemq.util.ByteSequence marshal(Object command) throws IOException
marshal
in interface org.apache.activemq.wireformat.WireFormat
IOException
public Object unmarshal(org.apache.activemq.util.ByteSequence packet) throws IOException
unmarshal
in interface org.apache.activemq.wireformat.WireFormat
IOException
public boolean inReceive()
Copyright © 2005–2021 FuseSource, Corp.. All rights reserved.