public synchronized void addDiscoverInfoTo ( DiscoverInfo response ) { // First add the identities of the connection response . addIdentities ( getIdentities ( ) ) ; // Add the registered features to the response for ( String feature : getFeatures ( ) ) { response . addFeature ( feature ) ; } response . addExtension ( extendedInfo ) ; }
Add discover info response data .