Interface IWireFormat
Represents the marshalling of commands to and from an IO stream
Namespace: Apache.NMS.ActiveMQ.Transport
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
public interface IWireFormatProperties
| Improve this Doc View SourceTransport
Gets the Transport that own this WireFormat instnace.
Declaration
ITransport Transport { get; set; }Property Value
| Type | Description | 
|---|---|
| ITransport | 
Version
Gets the current version of the protocol that this WireFormat instance supports
Declaration
int Version { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceMarshal(Object, BinaryWriter)
Marshalls the given command object onto the stream
Declaration
void Marshal(object o, BinaryWriter ds)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | o | |
| System.IO.BinaryWriter | ds | 
Unmarshal(BinaryReader)
Unmarshalls the next command object from the stream
Declaration
object Unmarshal(BinaryReader dis)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.BinaryReader | dis | 
Returns
| Type | Description | 
|---|---|
| System.Object |