public class WebSocketNativeImplImpl extends Object implements WebSocketNativeImpl
| Constructor and Description |
|---|
WebSocketNativeImplImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
int |
getId() |
String |
getProtocols() |
int |
getReadyState() |
boolean |
isSupported() |
void |
sendBytes(byte[] message) |
void |
sendString(String message) |
void |
setId(int id) |
void |
setProtocols(String protocols) |
void |
setUrl(String url) |
public void close()
close in interface WebSocketNativeImplpublic void sendBytes(byte[] message)
sendBytes in interface WebSocketNativeImplpublic void sendString(String message)
sendString in interface WebSocketNativeImplpublic void setProtocols(String protocols)
setProtocols in interface WebSocketNativeImplpublic String getProtocols()
getProtocols in interface WebSocketNativeImplpublic void setUrl(String url)
setUrl in interface WebSocketNativeImplpublic boolean isSupported()
isSupported in interface com.codename1.system.NativeInterfacepublic void setId(int id)
setId in interface WebSocketNativeImplpublic int getId()
getId in interface WebSocketNativeImplpublic void connect()
connect in interface WebSocketNativeImplpublic int getReadyState()
getReadyState in interface WebSocketNativeImplCopyright © 2021. All Rights Reserved.