protected boolean newWritableStorageConnection(String group_name) throws IOException, MyException {
  if (this.storageServer != null) {
    return false;
  }
 else {
    TrackerClient tracker=new TrackerClient();
    this.storageServer=tracker.getStoreStorage(this.trackerServer,group_name);
    if (this.storageServer == null) {
      throw new MyException("getStoreStorage fail, errno code: " + tracker.getErrorCode());
    }
    return true;
  }
}

protected boolean newWritableStorageConnection ( String group_name ) throws IOException , MyException { if ( this . storageServer != null ) { return false ; } else { TrackerClient tracker = new TrackerClient ( ) ; this . storageServer = tracker . getStoreStorage ( this . trackerServer , group_name ) ; if ( this . storageServer == null ) { throw new MyException ( "getStoreStorage fail, errno code: " + tracker . getErrorCode ( ) ) ; } return true ; } }
check storage socket , if null create a new connection
