private final void ensureReceiverHasSchemata ( CommsConnection conn ) throws Exception { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "ensureReceiverHasSchemata" , conn ) ; // We need to check if the receiver has all the necessary schema definitions to be able // to decode this message and pre-send any that are missing. if ( conn != null ) { SchemaManager . sendSchemas ( conn , ( ( JMFMessage ) headerPart . jmfPart ) . getSchemata ( ) ) ; if ( payloadPart != null ) { SchemaManager . sendSchemas ( conn , ( ( JMFMessage ) payloadPart . jmfPart ) . getSchemata ( ) ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "ensureReceiverHasSchemata" ) ; }
We need to check if the receiver has all the necessary schema definitions to be able to decode this message and pre - send any that are missing .