public virtual Response visit(ICommandVisitor visitor) { throw new ApplicationException("BaseCommand.Visit() not implemented"); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return(visitor.processConnectionControl(this)); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptGraphicalPrimitiveEllipticalArcClose(this, parameter); }
public void AcceptVisitor(ICommandVisitor visitor) { throw new System.NotImplementedException(); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processProducerAck(this); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processBrokerInfo(this); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptControlAuxiliaryColor(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processReplayCommand(this); }
public override Response visit(ICommandVisitor visitor) { return(visitor.processAddSession(this)); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptMetafileDescriptorCharacterCodingAnnouncer(this, parameter); }
public void Accept(ICommandVisitor visitor) { visitor.Visit(this); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptPictureDescriptorColorSelectionMode(this, parameter); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptAttributeTextPath(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processMessageDispatchNotification(this); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response Visit(ICommandVisitor visitor) { return(visitor.ProcessConnectionError(this)); }
public override Response visit(ICommandVisitor visitor) { return visitor.processWireFormat(this); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptSegmentClipInheritance(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { switch(type) { case TransactionInfo.BEGIN: return visitor.processBeginTransaction(this); case TransactionInfo.END: return visitor.processEndTransaction(this); case TransactionInfo.PREPARE: return visitor.processPrepareTransaction(this); case TransactionInfo.COMMIT_ONE_PHASE: return visitor.processCommitTransactionOnePhase(this); case TransactionInfo.COMMIT_TWO_PHASE: return visitor.processCommitTransactionTwoPhase(this); case TransactionInfo.ROLLBACK: return visitor.processRollbackTransaction(this); case TransactionInfo.RECOVER: return visitor.processRecoverTransactions(this); case TransactionInfo.FORGET: return visitor.processForgetTransaction(this); default: throw new IOException("Transaction info type unknown: " + type); } }
public override TResult Visit <TArg, TResult>(ICommandVisitor <TArg, TResult> visitor, TArg arg) { return(visitor.VisitLetCommand(this, arg)); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processRemoveSubscriptionInfo(this); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptDelimiterBeginApplicationStructureBody(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processMessageAck(this); }
public override Task <Result> Accept(ICommandVisitor visitor) { return(visitor.Visit(this)); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptDelimiterBeginCompoundTextPath(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return(visitor.processBrokerInfo(this)); }
public override Response visit(ICommandVisitor visitor) { return(visitor.processShutdownInfo(this)); }
public void AcceptVisitor(ICommandVisitor visitor) => visitor.Visit(this);
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return(visitor.processReplayCommand(this)); }
public T AcceptVisitor <T>(ICommandVisitor <T> visitor) => visitor.Visit(this);
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { switch(objectId.GetDataStructureType()) { case ConnectionId.ID_CONNECTIONID: return visitor.processRemoveConnection((ConnectionId) objectId); case SessionId.ID_SESSIONID: return visitor.processRemoveSession((SessionId) objectId); case ConsumerId.ID_CONSUMERID: return visitor.processRemoveConsumer((ConsumerId) objectId); case ProducerId.ID_PRODUCERID: return visitor.processRemoveProducer((ProducerId) objectId); default: throw new IOException("Unknown remove command type: " + objectId.GetDataStructureType()); } }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptAttributeCharacterOrientation(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { if(IsAddOperation) { return visitor.processAddDestination(this); } else if(IsRemoveOperation) { return visitor.processRemoveDestination(this); } throw new IOException("Unknown operation type: " + OperationType); }
public override Response visit(ICommandVisitor visitor) { return(visitor.processMessageDispatch(this)); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptDelimiterBeginMetafile(this, parameter); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processKeepAliveInfo(this); }
public override T Accept <T>(ICommandVisitor <T> visitor) { return(visitor.Visit(this)); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processShutdownInfo(this); }
public CommandVisitorPipe(ICommandVisitor visitor) { this.visitor = visitor; }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processAddConnection( this ); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response Visit(ICommandVisitor visitor) { return(visitor.ProcessAddConsumer(this)); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response Visit(ICommandVisitor visitor) { return(visitor.ProcessKeepAliveInfo(this)); }
/// /// <summery> /// Allows a Visitor to visit this command and return a response to the /// command based on the command type being visited. The command will call /// the proper processXXX method in the visitor. /// </summery> /// public override Response visit(ICommandVisitor visitor) { return visitor.processConsumerControl(this); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptSegmentSegmentDisplayPriority(this, parameter); }
public void AcceptVisitor(ICommandVisitor visitor) { visitor.Accept(this); }
public override void Accept <T>(ICommandVisitor <T> visitor, T parameter) { visitor.AcceptGraphicalPrimitiveCircle(this, parameter); }