Show / Hide Table of Contents

# Interface Command

An OpenWire command

##### Inherited Members

DataStructure.GetDataStructureType()
DataStructure.IsMarshallAware()
System.ICloneable.Clone()

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

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

##### Syntax

    public interface Command : DataStructure, ICloneable

### Properties

| Improve this Doc View Source

#### CommandId

##### Declaration

    int CommandId { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### IsBrokerInfo

##### Declaration

    bool IsBrokerInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsConnectionControl

##### Declaration

    bool IsConnectionControl { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsConnectionError

##### Declaration

    bool IsConnectionError { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsConnectionInfo

##### Declaration

    bool IsConnectionInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsConsumerControl

##### Declaration

    bool IsConsumerControl { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsConsumerInfo

##### Declaration

    bool IsConsumerInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsControlCommand

##### Declaration

    bool IsControlCommand { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsDestinationInfo

##### Declaration

    bool IsDestinationInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsFlushCommand

##### Declaration

    bool IsFlushCommand { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsKeepAliveInfo

##### Declaration

    bool IsKeepAliveInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsMessage

##### Declaration

    bool IsMessage { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsMessageAck

##### Declaration

    bool IsMessageAck { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsMessageDispatch

##### Declaration

    bool IsMessageDispatch { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsMessageDispatchNotification

##### Declaration

    bool IsMessageDispatchNotification { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsMessagePull

##### Declaration

    bool IsMessagePull { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsProducerAck

##### Declaration

    bool IsProducerAck { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsProducerInfo

##### Declaration

    bool IsProducerInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsRemoveInfo

##### Declaration

    bool IsRemoveInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsRemoveSubscriptionInfo

##### Declaration

    bool IsRemoveSubscriptionInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsReplayCommand

##### Declaration

    bool IsReplayCommand { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsResponse

##### Declaration

    bool IsResponse { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsSessionInfo

##### Declaration

    bool IsSessionInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsShutdownInfo

##### Declaration

    bool IsShutdownInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsTransactionInfo

##### Declaration

    bool IsTransactionInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsWireFormatInfo

##### Declaration

    bool IsWireFormatInfo { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### ResponseRequired

##### Declaration

    bool ResponseRequired { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

### Methods

| Improve this Doc View Source

#### Visit(ICommandVisitor)

##### Declaration

    Response Visit(ICommandVisitor visitor)

##### Parameters

Type | Name | Description
--- | --- | ---
ICommandVisitor | visitor |

##### Returns

Type | Description
--- | ---
Response |