Examples of OldNetworkImpl


Examples of org.prevayler.foundation.network.OldNetworkImpl

   * @throws ClassNotFoundException If a class of a serialized Object is not found when reading a .journal or .snapshot file.
   */
  public Prevayler<P> create() throws Exception {
    GenericSnapshotManager<P> snapshotManager = snapshotManager();
    TransactionPublisher publisher = publisher(snapshotManager);
    if (_serverPort != -1) new ServerListener(publisher, new OldNetworkImpl(), _serverPort);
    return new PrevaylerImpl<P>(snapshotManager, publisher, journalSerializer(), _transactionDeepCopyMode);
  }
View Full Code Here

Examples of org.prevayler.foundation.network.OldNetworkImpl

  }


  private TransactionPublisher publisher(GenericSnapshotManager<P> snapshotManager) throws IOException {
    if (_remoteServerIpAddress != null)
      return new ClientPublisher(new OldNetworkImpl(), _remoteServerIpAddress, _remoteServerPort);
    return new CentralPublisher(clock(), journal());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.