| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private Generator | |
| private SeekableByteChannel | |
| private final AtomicInteger | |
| private Path | |
| private static final Logger | |
| private SeekableByteChannel | |
| private final AtomicInteger | |
| private Path | |
| private Path | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getName()
Overrides org. Implements org. The |
| public void | init(ExtensionConfig config, WebSocketComponents components)
Overrides org. Implements org.
|
| public void | onFrame(Frame
the frame to process. frame, Callback the read completion. callback)Overrides org. Implements org. Process the incoming frame. |
| private void | |
| public void | sendFrame(Frame
the frame to eventually write to the network layer. frame, Callback the callback to notify when the frame is written. callback, boolean the batch mode requested by the sender. batch)Overrides org. Implements org. A frame, and optional callback, intended for the network layer. |
| BUFSIZE | back to summary |
|---|---|
| private static final int BUFSIZE | |
| generator | back to summary |
|---|---|
| private Generator generator | |
| incomingChannel | back to summary |
|---|---|
| private SeekableByteChannel incomingChannel | |
| incomingCount | back to summary |
|---|---|
| private final AtomicInteger incomingCount | |
| incomingFramesPath | back to summary |
|---|---|
| private Path incomingFramesPath | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| outgoingChannel | back to summary |
|---|---|
| private SeekableByteChannel outgoingChannel | |
| outgoingCount | back to summary |
|---|---|
| private final AtomicInteger outgoingCount | |
| outgoingFramesPath | back to summary |
|---|---|
| private Path outgoingFramesPath | |
| outputDir | back to summary |
|---|---|
| private Path outputDir | |
| prefix | back to summary |
|---|---|
| private String prefix | |
| FrameCaptureExtension | back to summary |
|---|---|
| public FrameCaptureExtension() | |
| getName | back to summary |
|---|---|
| public String getName() Overrides org. Implements org. Doc from org. The
Also known as the | |
| init | back to summary |
|---|---|
| public void init(ExtensionConfig config, WebSocketComponents components) Overrides org. Implements org.
| |
| onFrame | back to summary |
|---|---|
| public void onFrame(Frame frame, Callback callback) Overrides org. Implements org. Doc from org. Process the incoming frame. Note if you need to hang onto any information from the frame, be sure to copy it, as the information contained in the Frame will be released and/or reused by the implementation. Failure of the callback will propagate the failure back to the | |
| saveFrame | back to summary |
|---|---|
| private void saveFrame(Frame frame, boolean outgoing) | |
| sendFrame | back to summary |
|---|---|
| public void sendFrame(Frame frame, Callback callback, boolean batch) Overrides org. Implements org. Doc from org. A frame, and optional callback, intended for the network layer. Note the frame can undergo many transformations in the various layers and extensions present in the implementation. If you are implementing a mutation, you are obliged to handle the incoming Callback appropriately. | |