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 TextWireFormatpublic Object unmarshalText(Reader reader)
unmarshalText in class TextWireFormatpublic String marshalText(Object command) throws IOException
marshalText in class TextWireFormatIOExceptionpublic 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–2022 The Apache Software Foundation. All rights reserved.