Show / Hide Table of Contents

# Class CompressionPolicy

##### Inheritance

System.Object
CompressionPolicy

##### Implements

ICompressionPolicy
System.ICloneable

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class CompressionPolicy : ICompressionPolicy, ICloneable

### Methods

| Improve this Doc View Source

#### Clone()

##### Declaration

    public object Clone()

##### Returns

Type | Description
--- | ---
System.Object |

| Improve this Doc View Source

#### CreateCompressionStream(Stream)

##### Declaration

    public Stream CreateCompressionStream(Stream data)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.Stream | data |

##### Returns

Type | Description
--- | ---
System.IO.Stream |

| Improve this Doc View Source

#### CreateDecompressionStream(Stream)

##### Declaration

    public Stream CreateDecompressionStream(Stream data)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.Stream | data |

##### Returns

Type | Description
--- | ---
System.IO.Stream |

### Implements

ICompressionPolicy
System.ICloneable