Modifier and Type | Field and Description |
---|---|
private java.util.Random |
random |
Constructor and Description |
---|
RandomMasker() |
RandomMasker(java.util.Random random) |
Modifier and Type | Method and Description |
---|---|
void |
setMask(WebSocketFrame frame)
Set the mask on the provided
WebSocketFrame . |
public RandomMasker()
public RandomMasker(java.util.Random random)
public void setMask(WebSocketFrame frame)
Masker
WebSocketFrame
.
Implementations MUST set the mask on the frame.