public interface WebSocketAdapter
Modifier and Type | Method and Description |
---|---|
void |
closeClient ()
Close the client.
|
void |
closeIncommingSession ()
Close the incomming session.
|
void |
closeOutgoingSession ()
Close the outgoing session.
|
void |
connect (URI url)
Connects to the given
URI . |
void |
send (Object content)
Sends the provided content.
|
void |
start ()
Starts the client.
|
void connect(URI url) throws Exception
URI
.url
- the target urlException
- in case of errorvoid send(Object content) throws IOException
content
- the content to be sentIOException
- in case of errorvoid closeIncommingSession() throws Exception
Exception
- in case of errorCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.