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);
}