Skip to content
Permalink
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.
@@ -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();
@@ -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)
{

0 comments on commit 923fd4c

Please sign in to comment.