Constructor and Description |
---|
WebSocketBlockingConnection(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] data,
int offset,
int length)
Send a binary message.
|
void |
write(String message)
Send text message.
|
public WebSocketBlockingConnection(Session session)
public void write(byte[] data, int offset, int length) throws IOException
Basic usage, results in a blocking write.
IOException
public void write(String message) throws IOException
Basic usage, results in a blocking write.
IOException
Copyright © 1995-2019 Mort Bay Consulting. All Rights Reserved.