protected int startBridgeServer(int port,boolean notifyBySubscription) throws IOException {
  Cache cache=getCache();
  CacheServer bridge=cache.addCacheServer();
  bridge.setPort(port);
  bridge.setNotifyBySubscription(notifyBySubscription);
  bridge.start();
  bridgeServerPort=bridge.getPort();
  return bridge.getPort();
}

protected int startBridgeServer ( int port , boolean notifyBySubscription ) throws IOException { Cache cache = getCache ( ) ; CacheServer bridge = cache . addCacheServer ( ) ; bridge . setPort ( port ) ; bridge . setNotifyBySubscription ( notifyBySubscription ) ; bridge . start ( ) ; bridgeServerPort = bridge . getPort ( ) ; return bridge . getPort ( ) ; }
starts a bridge server on the given port , using the given deserializevalues and notifybysubscription to serve up the given region .
