Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » openwire » [javadoc | source]
org.apache.activemq.openwire
public final class: OpenWireFormat [javadoc | source]
java.lang.Object
   org.apache.activemq.openwire.OpenWireFormat

All Implemented Interfaces:
    WireFormat

Field Summary
public static final  int DEFAULT_VERSION     
static final  byte NULL_TYPE     
Constructor:
 public OpenWireFormat() 
 public OpenWireFormat(int i) 
Method from org.apache.activemq.openwire.OpenWireFormat Summary:
addToMarshallCache,   copy,   doUnmarshal,   equals,   getFromUnmarshallCache,   getMarshallCacheIndex,   getPreferedWireFormatInfo,   getVersion,   hashCode,   isCacheEnabled,   isSizePrefixDisabled,   isStackTraceEnabled,   isTcpNoDelayEnabled,   isTightEncodingEnabled,   looseMarshalNestedObject,   looseUnmarshalNestedObject,   marshal,   marshal,   min,   renegotiateWireFormat,   runMarshallCacheEvictionSweep,   setCacheEnabled,   setInUnmarshallCache,   setPreferedWireFormatInfo,   setSizePrefixDisabled,   setStackTraceEnabled,   setTcpNoDelayEnabled,   setTightEncodingEnabled,   setVersion,   tightMarshal1,   tightMarshal2,   tightMarshalNestedObject1,   tightMarshalNestedObject2,   tightUnmarshalNestedObject,   toString,   unmarshal,   unmarshal
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.openwire.OpenWireFormat Detail:
 public Short addToMarshallCache(DataStructure o) 
 public OpenWireFormat copy() 
 public Object doUnmarshal(DataInput dis) throws IOException 
 public boolean equals(Object object) 
 public DataStructure getFromUnmarshallCache(short index) 
 public Short getMarshallCacheIndex(DataStructure o) 
 public WireFormatInfo getPreferedWireFormatInfo() 
 public int getVersion() 
 public int hashCode() 
 public boolean isCacheEnabled() 
 public boolean isSizePrefixDisabled() 
 public boolean isStackTraceEnabled() 
 public boolean isTcpNoDelayEnabled() 
 public boolean isTightEncodingEnabled() 
 public  void looseMarshalNestedObject(DataStructure o,
    DataOutput dataOut) throws IOException 
 public DataStructure looseUnmarshalNestedObject(DataInput dis) throws IOException 
 public synchronized ByteSequence marshal(Object command) throws IOException 
 public synchronized  void marshal(Object o,
    DataOutput dataOut) throws IOException 
 protected int min(int version1,
    int version2) 
 public  void renegotiateWireFormat(WireFormatInfo info) throws IOException 
 public  void runMarshallCacheEvictionSweep() 
 public  void setCacheEnabled(boolean cacheEnabled) 
 public  void setInUnmarshallCache(short index,
    DataStructure o) 
 public  void setPreferedWireFormatInfo(WireFormatInfo info) 
 public  void setSizePrefixDisabled(boolean prefixPacketSize) 
 public  void setStackTraceEnabled(boolean b) 
 public  void setTcpNoDelayEnabled(boolean tcpNoDelayEnabled) 
 public  void setTightEncodingEnabled(boolean tightEncodingEnabled) 
 public  void setVersion(int version) 
    Allows you to dynamically switch the version of the openwire protocol being used.
 public int tightMarshal1(Object o,
    BooleanStream bs) throws IOException 
    Used by NIO or AIO transports
 public  void tightMarshal2(Object o,
    DataOutput ds,
    BooleanStream bs) throws IOException 
    Used by NIO or AIO transports; note that the size is not written as part of this method.
 public int tightMarshalNestedObject1(DataStructure o,
    BooleanStream bs) throws IOException 
 public  void tightMarshalNestedObject2(DataStructure o,
    DataOutput ds,
    BooleanStream bs) throws IOException 
 public DataStructure tightUnmarshalNestedObject(DataInput dis,
    BooleanStream bs) throws IOException 
 public String toString() 
 public synchronized Object unmarshal(ByteSequence sequence) throws IOException 
 public Object unmarshal(DataInput dis) throws IOException