if( pex_item != null ) {
//check for peer exchange support
if(ut_pex_enabled || peerSupportsMessageType(AZMessage.ID_AZ_PEER_EXCHANGE)) {
peer_exchange_supported = true;
pex_item.enableStateMaintenance();
}
else { //no need to maintain internal states as we wont be sending/receiving peer exchange messages
pex_item.disableStateMaintenance();
}
}