public interface FramePriority<C extends AbstractFramedChannel<C,R,S>,R extends AbstractFramedStreamSourceChannel<C,R,S>,S extends AbstractFramedStreamSinkChannel<C,R,S>>
Modifier and Type | Method and Description |
---|---|
void | frameAdded(S addedFrame, List<S> pendingFrames, Deque<S> holdFrames) Invoked when a new frame is successfully added to the pending frames queue. |
boolean | insertFrame(S newFrame, List<S> pendingFrames) Inserts the new frame at the correct location in the pending frame list. |
boolean insertFrame(S newFrame, List<S> pendingFrames)
newFrame
- The new frame to insert into the pending frame listpendingFrames
- The pending frame listvoid frameAdded(S addedFrame, List<S> pendingFrames, Deque<S> holdFrames)
addedFrame
- The newly added framependingFrames
- The pending frame queueholdFrames
- The held frame queueCopyright © 2015 JBoss by Red Hat. All rights reserved.