com.mooapi.common.command.client
Class UnknownClientCommand

java.lang.Object
  extended by com.mooapi.common.command.client.AbstractClientCommand
      extended by com.mooapi.common.command.client.UnknownClientCommand
All Implemented Interfaces:
Command

public class UnknownClientCommand
extends AbstractClientCommand

MooAPI ignore command.

Author:
Steve Taylor

Constructor Summary
UnknownClientCommand()
          Create a new ignore input command.
 
Method Summary
static UnknownClientCommand decode(org.apache.mina.common.ByteBuffer buffer)
          Create a new ignore command from the specified input buffer.
 org.apache.mina.common.ByteBuffer encode()
          This operation is unsupported because the client shouldn't send junk to the server.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
          Generate a string representation of this command.
 
Methods inherited from class com.mooapi.common.command.client.AbstractClientCommand
getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownClientCommand

public UnknownClientCommand()
Create a new ignore input command.

Method Detail

decode

public static UnknownClientCommand decode(org.apache.mina.common.ByteBuffer buffer)
Create a new ignore command from the specified input buffer.

Parameters:
buffer - An input buffer.
Returns:
A new ignore command.

encode

public org.apache.mina.common.ByteBuffer encode()
This operation is unsupported because the client shouldn't send junk to the server.

Specified by:
encode in class AbstractClientCommand
Returns:
N/A
Throws:
java.lang.UnsupportedOperationException - Always.

toString

public java.lang.String toString()
Generate a string representation of this command.

Specified by:
toString in class AbstractClientCommand
Returns:
This command's string representation.

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in class AbstractClientCommand
Parameters:
obj -
Returns:

hashCode

public int hashCode()
Specified by:
hashCode in class AbstractClientCommand
Returns:


Copyright © 2009. All Rights Reserved.