Package freenet.clients.fcp.ListPersistentRequestsMessage

Examples of freenet.clients.fcp.ListPersistentRequestsMessage.PersistentListJob


    }
  }

  public void queuePendingMessagesOnConnectionRestartAsync(FCPConnectionOutputHandler outputHandler, ClientContext context) {
    if(persistence == Persistence.FOREVER) {
      PersistentListJob job = new PersistentListJob(this, outputHandler, context) {

        @Override
        void complete(ClientContext context) {
          // Do nothing.
        }
       
      };
      job.run(context);
    } else {
      TransientListJob job = new TransientListJob(this, outputHandler, context) {

        @Override
        void complete(ClientContext context) {
          // Do nothing.
        }
       
      };
      job.run(context);

    }
  }
View Full Code Here

TOP

Related Classes of freenet.clients.fcp.ListPersistentRequestsMessage.PersistentListJob

Copyright © 2018 www.massapicom. 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.