public synchronized void advertise ( MCMPConfig config ) throws IOException { final MCMPConfig . AdvertiseConfig advertiseConfig = config . getAdvertiseConfig ( ) ; if ( advertiseConfig == null ) { throw new IllegalArgumentException ( "advertise not enabled" ) ; } MCMPAdvertiseTask . advertise ( container , advertiseConfig , xnioWorker ) ; }
Start advertising a mcmp handler .