Show / Hide Table of Contents

# Class CommandVisitorAdapter

##### Inheritance

System.Object
CommandVisitorAdapter
ConnectionStateTracker

##### Implements

ICommandVisitor

##### 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.State

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

##### Syntax

    public class CommandVisitorAdapter : ICommandVisitor

### Methods

| Improve this Doc View Source

#### ProcessAddConnection(ConnectionInfo)

##### Declaration

    public virtual Response ProcessAddConnection(ConnectionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessAddConsumer(ConsumerInfo)

##### Declaration

    public virtual Response ProcessAddConsumer(ConsumerInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessAddDestination(DestinationInfo)

##### Declaration

    public virtual Response ProcessAddDestination(DestinationInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessAddProducer(ProducerInfo)

##### Declaration

    public virtual Response ProcessAddProducer(ProducerInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessAddSession(SessionInfo)

##### Declaration

    public virtual Response ProcessAddSession(SessionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessBeginTransaction(TransactionInfo)

##### Declaration

    public virtual Response ProcessBeginTransaction(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessBrokerInfo(BrokerInfo)

##### Declaration

    public virtual Response ProcessBrokerInfo(BrokerInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessCommitTransactionOnePhase(TransactionInfo)

##### Declaration

    public virtual Response ProcessCommitTransactionOnePhase(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessCommitTransactionTwoPhase(TransactionInfo)

##### Declaration

    public virtual Response ProcessCommitTransactionTwoPhase(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessConnectionControl(ConnectionControl)

##### Declaration

    public virtual Response ProcessConnectionControl(ConnectionControl control)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessConnectionError(ConnectionError)

##### Declaration

    public virtual Response ProcessConnectionError(ConnectionError error)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessConsumerControl(ConsumerControl)

##### Declaration

    public virtual Response ProcessConsumerControl(ConsumerControl control)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessControlCommand(ControlCommand)

##### Declaration

    public virtual Response ProcessControlCommand(ControlCommand command)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessEndTransaction(TransactionInfo)

##### Declaration

    public virtual Response ProcessEndTransaction(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessFlushCommand(FlushCommand)

##### Declaration

    public virtual Response ProcessFlushCommand(FlushCommand command)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessForgetTransaction(TransactionInfo)

##### Declaration

    public virtual Response ProcessForgetTransaction(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessKeepAliveInfo(KeepAliveInfo)

##### Declaration

    public virtual Response ProcessKeepAliveInfo(KeepAliveInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessMessage(Message)

##### Declaration

    public virtual Response ProcessMessage(Message send)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessMessageAck(MessageAck)

##### Declaration

    public virtual Response ProcessMessageAck(MessageAck ack)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessMessageDispatch(MessageDispatch)

##### Declaration

    public virtual Response ProcessMessageDispatch(MessageDispatch dispatch)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessMessageDispatchNotification(MessageDispatchNotification)

##### Declaration

    public virtual Response ProcessMessageDispatchNotification(MessageDispatchNotification notification)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessMessagePull(MessagePull)

##### Declaration

    public virtual Response ProcessMessagePull(MessagePull pull)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessPrepareTransaction(TransactionInfo)

##### Declaration

    public virtual Response ProcessPrepareTransaction(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessProducerAck(ProducerAck)

##### Declaration

    public virtual Response ProcessProducerAck(ProducerAck ack)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRecoverTransactions(TransactionInfo)

##### Declaration

    public virtual Response ProcessRecoverTransactions(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveConnection(ConnectionId)

##### Declaration

    public virtual Response ProcessRemoveConnection(ConnectionId id)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveConsumer(ConsumerId)

##### Declaration

    public virtual Response ProcessRemoveConsumer(ConsumerId id)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveDestination(DestinationInfo)

##### Declaration

    public virtual Response ProcessRemoveDestination(DestinationInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveProducer(ProducerId)

##### Declaration

    public virtual Response ProcessRemoveProducer(ProducerId id)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveSession(SessionId)

##### Declaration

    public virtual Response ProcessRemoveSession(SessionId id)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRemoveSubscriptionInfo(RemoveSubscriptionInfo)

##### Declaration

    public virtual Response ProcessRemoveSubscriptionInfo(RemoveSubscriptionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessReplayCommand(ReplayCommand)

##### Declaration

    public virtual Response ProcessReplayCommand(ReplayCommand replayCommand)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessResponse(Response)

##### Declaration

    public virtual Response ProcessResponse(Response response)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessRollbackTransaction(TransactionInfo)

##### Declaration

    public virtual Response ProcessRollbackTransaction(TransactionInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessShutdownInfo(ShutdownInfo)

##### Declaration

    public virtual Response ProcessShutdownInfo(ShutdownInfo info)

##### Parameters

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

##### Returns

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

| Improve this Doc View Source

#### ProcessWireFormat(WireFormatInfo)

##### Declaration

    public virtual Response ProcessWireFormat(WireFormatInfo info)

##### Parameters

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

##### Returns

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

### Implements

ICommandVisitor