public class XStreamWireFormat extends TextWireFormat
WireFormat
implementation which uses the
Constructor and Description |
---|
XStreamWireFormat() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProcessWireFormatVersion(int version)
Can this wireformat process packets of this version
|
org.apache.activemq.wireformat.WireFormat |
copy() |
protected com.thoughtworks.xstream.XStream |
createXStream() |
int |
getCurrentWireFormatVersion() |
int |
getVersion() |
com.thoughtworks.xstream.XStream |
getXStream() |
String |
marshalText(Object command) |
void |
setVersion(int version) |
void |
setXStream(com.thoughtworks.xstream.XStream xStream) |
Object |
unmarshalText(Reader reader) |
Object |
unmarshalText(String text) |
public XStreamWireFormat()
public int getVersion()
public void setVersion(int version)
public org.apache.activemq.wireformat.WireFormat copy()
public Object unmarshalText(String text)
unmarshalText
in class TextWireFormat
public Object unmarshalText(Reader reader)
unmarshalText
in class TextWireFormat
public String marshalText(Object command) throws IOException
marshalText
in class TextWireFormat
IOException
public boolean canProcessWireFormatVersion(int version)
version
- the version number to testpublic int getCurrentWireFormatVersion()
public com.thoughtworks.xstream.XStream getXStream()
public void setXStream(com.thoughtworks.xstream.XStream xStream)
protected com.thoughtworks.xstream.XStream createXStream()
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.