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 ) ; } } }
Decode a message from its type .