public interface ClientContainer
| Modifier and Type | Method and Description |
|---|---|
void |
connectToServer(Endpoint endpoint,
ClientConfiguration olc)
Connect the supplied endpoint to its server using the supplied handshake
parameters
|
Set<Session> |
getActiveSessions()
Return an unordered collection of the currently active web socket sessions.
|
long |
getMaxBinaryMessageBufferSize()
Returns the maximum size of binary message in number of bytes that this container
will buffer.
|
long |
getMaxSessionIdleTimeout()
Return the maximum time in seconds that a web socket session may be idle before
the container may close it.
|
long |
getMaxTextMessageBufferSize()
Sets the maximum size of text message in number of bytes that this container
will buffer.
|
void |
setMaxBinaryMessageBufferSize(long max)
Sets the maximum size of binary message in number of bytes that this container
will buffer.
|
void |
setMaxSessionIdleTimeout(long timeout)
Sets the maximum time in seconds that a web socket session may be idle before
the container may close it.
|
void |
setMaxTextMessageBufferSize(long max)
Returns the maximum size of text message in number of bytes that this container
will buffer.
|
void connectToServer(Endpoint endpoint, ClientConfiguration olc)
endpoint - olc - Set<Session> getActiveSessions()
long getMaxSessionIdleTimeout()
void setMaxSessionIdleTimeout(long timeout)
long getMaxBinaryMessageBufferSize()
void setMaxBinaryMessageBufferSize(long max)
long getMaxTextMessageBufferSize()
void setMaxTextMessageBufferSize(long max)
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.