Show / Hide Table of Contents

# Interface ICommandVisitor

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

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

##### Syntax

    public interface ICommandVisitor

### Methods

| Improve this Doc View Source

#### ProcessAddConnection(ConnectionInfo)

##### Declaration

    Response ProcessAddConnection(ConnectionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessAddConsumer(ConsumerInfo)

##### Declaration

    Response ProcessAddConsumer(ConsumerInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
ConsumerInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessAddDestination(DestinationInfo)

##### Declaration

    Response ProcessAddDestination(DestinationInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
DestinationInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessAddProducer(ProducerInfo)

##### Declaration

    Response ProcessAddProducer(ProducerInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
ProducerInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessAddSession(SessionInfo)

##### Declaration

    Response ProcessAddSession(SessionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
SessionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessBeginTransaction(TransactionInfo)

##### Declaration

    Response ProcessBeginTransaction(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessBrokerInfo(BrokerInfo)

##### Declaration

    Response ProcessBrokerInfo(BrokerInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
BrokerInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessCommitTransactionOnePhase(TransactionInfo)

##### Declaration

    Response ProcessCommitTransactionOnePhase(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessCommitTransactionTwoPhase(TransactionInfo)

##### Declaration

    Response ProcessCommitTransactionTwoPhase(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessConnectionControl(ConnectionControl)

##### Declaration

    Response ProcessConnectionControl(ConnectionControl control)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionControl | control |

##### Returns

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

| Improve this Doc View Source

#### ProcessConnectionError(ConnectionError)

##### Declaration

    Response ProcessConnectionError(ConnectionError error)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionError | error |

##### Returns

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

| Improve this Doc View Source

#### ProcessConsumerControl(ConsumerControl)

##### Declaration

    Response ProcessConsumerControl(ConsumerControl control)

##### Parameters

Type | Name | Description
--- | --- | ---
ConsumerControl | control |

##### Returns

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

| Improve this Doc View Source

#### ProcessControlCommand(ControlCommand)

##### Declaration

    Response ProcessControlCommand(ControlCommand command)

##### Parameters

Type | Name | Description
--- | --- | ---
ControlCommand | command |

##### Returns

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

| Improve this Doc View Source

#### ProcessEndTransaction(TransactionInfo)

##### Declaration

    Response ProcessEndTransaction(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessFlushCommand(FlushCommand)

##### Declaration

    Response ProcessFlushCommand(FlushCommand command)

##### Parameters

Type | Name | Description
--- | --- | ---
FlushCommand | command |

##### Returns

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

| Improve this Doc View Source

#### ProcessForgetTransaction(TransactionInfo)

##### Declaration

    Response ProcessForgetTransaction(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessKeepAliveInfo(KeepAliveInfo)

##### Declaration

    Response ProcessKeepAliveInfo(KeepAliveInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
KeepAliveInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessMessage(Message)

##### Declaration

    Response ProcessMessage(Message send)

##### Parameters

Type | Name | Description
--- | --- | ---
Message | send |

##### Returns

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

| Improve this Doc View Source

#### ProcessMessageAck(MessageAck)

##### Declaration

    Response ProcessMessageAck(MessageAck ack)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageAck | ack |

##### Returns

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

| Improve this Doc View Source

#### ProcessMessageDispatch(MessageDispatch)

##### Declaration

    Response ProcessMessageDispatch(MessageDispatch dispatch)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageDispatch | dispatch |

##### Returns

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

| Improve this Doc View Source

#### ProcessMessageDispatchNotification(MessageDispatchNotification)

##### Declaration

    Response ProcessMessageDispatchNotification(MessageDispatchNotification notification)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageDispatchNotification | notification |

##### Returns

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

| Improve this Doc View Source

#### ProcessMessagePull(MessagePull)

##### Declaration

    Response ProcessMessagePull(MessagePull pull)

##### Parameters

Type | Name | Description
--- | --- | ---
MessagePull | pull |

##### Returns

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

| Improve this Doc View Source

#### ProcessPrepareTransaction(TransactionInfo)

##### Declaration

    Response ProcessPrepareTransaction(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessProducerAck(ProducerAck)

##### Declaration

    Response ProcessProducerAck(ProducerAck ack)

##### Parameters

Type | Name | Description
--- | --- | ---
ProducerAck | ack |

##### Returns

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

| Improve this Doc View Source

#### ProcessRecoverTransactions(TransactionInfo)

##### Declaration

    Response ProcessRecoverTransactions(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveConnection(ConnectionId)

##### Declaration

    Response ProcessRemoveConnection(ConnectionId id)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionId | id |

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveConsumer(ConsumerId)

##### Declaration

    Response ProcessRemoveConsumer(ConsumerId id)

##### Parameters

Type | Name | Description
--- | --- | ---
ConsumerId | id |

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveDestination(DestinationInfo)

##### Declaration

    Response ProcessRemoveDestination(DestinationInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
DestinationInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveProducer(ProducerId)

##### Declaration

    Response ProcessRemoveProducer(ProducerId id)

##### Parameters

Type | Name | Description
--- | --- | ---
ProducerId | id |

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveSession(SessionId)

##### Declaration

    Response ProcessRemoveSession(SessionId id)

##### Parameters

Type | Name | Description
--- | --- | ---
SessionId | id |

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveSubscriptionInfo(RemoveSubscriptionInfo)

##### Declaration

    Response ProcessRemoveSubscriptionInfo(RemoveSubscriptionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
RemoveSubscriptionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessReplayCommand(ReplayCommand)

##### Declaration

    Response ProcessReplayCommand(ReplayCommand replayCommand)

##### Parameters

Type | Name | Description
--- | --- | ---
ReplayCommand | replayCommand |

##### Returns

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

| Improve this Doc View Source

#### ProcessResponse(Response)

##### Declaration

    Response ProcessResponse(Response response)

##### Parameters

Type | Name | Description
--- | --- | ---
Response | response |

##### Returns

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

| Improve this Doc View Source

#### ProcessRollbackTransaction(TransactionInfo)

##### Declaration

    Response ProcessRollbackTransaction(TransactionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessShutdownInfo(ShutdownInfo)

##### Declaration

    Response ProcessShutdownInfo(ShutdownInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
ShutdownInfo | info |

##### Returns

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

| Improve this Doc View Source

#### ProcessWireFormat(WireFormatInfo)

##### Declaration

    Response ProcessWireFormat(WireFormatInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
WireFormatInfo | info |

##### Returns

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