private void shutdownCallbacks(boolean fromShutdownHook) {
   // Now that the handshake manager has concluded that it is entering into a shutdown state,
   // anyone else wishing to use it
   // needs to be notified that they cannot.
   for (ClientHandshakeCallback c : this.callBacks) {
     c.shutdown(fromShutdownHook);
   }
 }
 private void unpauseCallbacks() {
   for (ClientHandshakeCallback c : this.callBacks) {
     c.unpause();
   }
 }
 private void notifyCallbackOnHandshake(ClientHandshakeMessage handshakeMessage) {
   for (ClientHandshakeCallback c : this.callBacks) {
     c.initializeHandshake(handshakeMessage);
   }
 }