Package com.gmt2001.wspinger
Interface PingPongSupplierPredicate
- All Superinterfaces:
Predicate<WebSocketFrame>
,Supplier<WebSocketFrame>
- All Known Implementing Classes:
RFC6455PingPong
,TMIPingPongSupplierPredicate
public interface PingPongSupplierPredicate
extends Supplier<WebSocketFrame>, Predicate<WebSocketFrame>
An interface representing a single class that implements both a PING supplier and a PONG predicate.
The supplier should return a
WebSocketFrame
that sends a PING as defined by the protocol of the connected remote.
The predicate should return true
if the supplied WebSocketFrame
is a valid PONG response from the connected remote- Author:
- gmt2001
-
Method Summary