Issue #207 - removing unused section

This commit is contained in:
Joakim Erdfelt 2017-04-06 12:23:59 -07:00
parent 893b153cb3
commit f2c09d5388
1 changed files with 2 additions and 24 deletions

View File

@ -25,20 +25,9 @@ import org.eclipse.jetty.websocket.api.FrameCallback;
*/
public interface IncomingFrames
{
@Deprecated
void incomingError(Throwable t);
/**
* Process the incoming frame.
* <p>
* 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.
*
* @param frame the frame to process
*/
// @Deprecated
// void incomingFrame(Frame frame);
/**
* Process the incoming frame.
* <p>
@ -49,16 +38,5 @@ public interface IncomingFrames
* @param frame the frame to process
* @param callback the read completion
*/
default void incomingFrame(Frame frame, FrameCallback callback)
{
try
{
//xincomingFrame(frame);
callback.succeed();
}
catch (Throwable e)
{
callback.fail(e);
}
}
void incomingFrame(Frame frame, FrameCallback callback);
}