code: protected void decodeMessage(byte type, byte from, byte dest, DataInputStream buffer) throws IOException
      {
          final NetworkMessage message = decoder.getNetworkMessageFromType(type);
          if (message != null)
          {
              final int skip = 3;
              if (buffer.skipBytes(skip) == skip)
              {
                  message.decode(type, from, dest, buffer);
                  messagesIn.add(message);
              }
          }
      }
docs: Decode a message from its type.
  
  @param type The message type.
  @param from The client id source.
  @param dest The client id destination (-1 if all).
  @param buffer The data.
  @throws IOException Error on reading.