org.apache.qpid.proton.engine.impl.CollectorImpl Java Examples

The following examples show how to use org.apache.qpid.proton.engine.impl.CollectorImpl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ReactorImpl.java    From qpid-proton-j with Apache License 2.0 5 votes vote down vote up
protected ReactorImpl(IO io, ReactorOptions options) throws IOException {
    collector = (CollectorImpl)Proton.collector();
    global = new IOHandler();
    handler = new BaseHandler();
    children = new HashSet<ReactorChild>();
    selectables = 0;
    timer = new Timer(collector);
    this.io = io;
    wakeup = this.io.pipe();
    mark();
    attachments = new RecordImpl();
    this.options = options;
}
 
Example #2
Source File: Collector.java    From qpid-proton-j with Apache License 2.0 4 votes vote down vote up
public static Collector create() {
    return new CollectorImpl();
}
 
Example #3
Source File: Timer.java    From qpid-proton-j with Apache License 2.0 4 votes vote down vote up
public Timer(Collector collector) {
    this.collector = (CollectorImpl)collector;
}