Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use the Command object type shortcuts
- Loading branch information
Timothy A. Bish
committed
Nov 11, 2010
1 parent
283c2d6
commit 923fd4cbe8649016efd85ea7d809305e0d3788e9
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -430,7 +430,7 @@ public void Oneway(Command command) | ||
return; | ||
} | ||
|
||
if(command is RemoveInfo) | ||
if(command.IsRemoveInfo) | ||
{ | ||
// Simulate response to RemoveInfo command | ||
Response response = new Response(); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -197,7 +197,7 @@ protected override void OnCommand(ITransport sender, Command command) | ||
inRead.Value = true; | ||
try | ||
{ | ||
if(command is WireFormatInfo) | ||
if(command.IsWireFormatInfo) | ||
{ | ||
lock(monitor) | ||
{ | ||