Package freenet.client.events

Examples of freenet.client.events.SendingToNetworkEvent


  }

  /** Notify listening clients that an insert has been sent to the network. */
  @Override
  protected void innerToNetwork(ClientContext context) {
    ctx.eventProducer.produceEvent(new SendingToNetworkEvent(), context);
  }
View Full Code Here


  protected void innerToNetwork(ClientContext context) {
      context.getJobRunner(persistent()).queueNormalOrDrop(new PersistentJob() {

            @Override
            public boolean run(ClientContext context) {
                ctx.eventProducer.produceEvent(new SendingToNetworkEvent(), context);
                return false;
            }
         
      });
  }
View Full Code Here

                ret.receive(new ExpectedFileSizeEvent(foundDataLength), context);
            }
            if(foundDataMimeType != null)
                ret.receive(new ExpectedMIMEEvent(foundDataMimeType), context);
            if(sentToNetwork)
                ret.receive(new SendingToNetworkEvent(), context);
            if(expectedHashes != null) {
                container.activate(expectedHashes, Integer.MAX_VALUE);
                if(expectedHashes.hashes != null)
                    ret.receive(new ExpectedHashesEvent(expectedHashes.hashes), context);
            }
View Full Code Here

TOP

Related Classes of freenet.client.events.SendingToNetworkEvent

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.