public void removeConnectionCallback(OneSheeldConnectionCallback connectionCallback){
  if (connectionCallback != null && connectionCallbacks.contains(connectionCallback))   connectionCallbacks.remove(connectionCallback);
}

public void removeConnectionCallback ( OneSheeldConnectionCallback connectionCallback ) { if ( connectionCallback != null && connectionCallbacks . contains ( connectionCallback ) ) connectionCallbacks . remove ( connectionCallback ) ; }
remove a connection callback .
