void function ( int arg0 , ChunkHandler arg1 ) { if ( arg1 == null ) throw new NullPointerException ( ) ; synchronized ( mHandlerMap ) { if ( mHandlerMap . get ( arg0 ) != null ) throw new RuntimeException ( "srini_string" + Integer . toHexString ( arg0 ) + "srini_string" ) ; mHandlerMap . put ( arg0 , arg1 ) ; } }
register an instance of the chunkhandler class to handle a specific chunk type . throws an exception if the type already has a handler registered . concode_field_sep int CLIENT_PROTOCOL_VERSION concode_elem_sep int CONNECTED concode_elem_sep boolean mRegistrationComplete concode_elem_sep boolean mRegistrationTimedOut concode_elem_sep int DISCONNECTED concode_elem_sep HashMap<Integer,ChunkHandler> mHandlerMap concode_field_sep void broadcast concode_elem_sep void sendChunk concode_elem_sep Chunk dispatch concode_elem_sep void nativeSendChunk concode_elem_sep ChunkHandler unregisterHandler concode_elem_sep void registrationComplete