public void handleGatewayReceiverStop(GatewayReceiver recv) throws ManagementException {
  if (!isServiceInitialised("handleGatewayReceiverStop")) {
    return;
  }
  GatewayReceiverMBean mbean=(GatewayReceiverMBean)service.getLocalGatewayReceiverMXBean();
  GatewayReceiverMBeanBridge bridge=mbean.getBridge();
  bridge.stopServer();
  Notification notification=new Notification(JMXNotificationType.GATEWAY_RECEIVER_STOPPED,memberSource,SequenceNumber.next(),System.currentTimeMillis(),ManagementConstants.GATEWAY_RECEIVER_STOPPED_PREFIX);
  memberLevelNotifEmitter.sendNotification(notification);
}

public void handleGatewayReceiverStop ( GatewayReceiver recv ) throws ManagementException { if ( ! isServiceInitialised ( "handleGatewayReceiverStop" ) ) { return ; } GatewayReceiverMBean mbean = ( GatewayReceiverMBean ) service . getLocalGatewayReceiverMXBean ( ) ; GatewayReceiverMBeanBridge bridge = mbean . getBridge ( ) ; bridge . stopServer ( ) ; Notification notification = new Notification ( JMXNotificationType . GATEWAY_RECEIVER_STOPPED , memberSource , SequenceNumber . next ( ) , System . currentTimeMillis ( ) , ManagementConstants . GATEWAY_RECEIVER_STOPPED_PREFIX ) ; memberLevelNotifEmitter . sendNotification ( notification ) ; }
handles gateway receiver creation
