|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.tyrus.platform.ServerContainerImpl
public class ServerContainerImpl
Server Container Implementation.
| Constructor Summary | |
|---|---|
ServerContainerImpl(BeanServer beanServer,
java.lang.String wsPath,
int port)
|
|
| Method Summary | |
|---|---|
void |
connectToServer(javax.net.websocket.Endpoint endpoint,
javax.net.websocket.ClientConfiguration olc)
|
java.util.Set<javax.net.websocket.Session> |
getActiveSessions()
Return an unordered collection of the currently active web socket sessions. |
java.lang.ClassLoader |
getApplicationLevelClassLoader()
|
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. |
java.lang.String |
getPath()
|
int |
getPort()
|
void |
publishServer(javax.net.websocket.Endpoint endpoint,
javax.net.websocket.ServerConfiguration ilc)
Publish the given endpoint with the provided configuration information. |
void |
setApplicationLevelClassLoader(java.lang.ClassLoader applicationLevelClassLoader)
|
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. |
static void |
setWebMode(boolean b)
|
java.lang.String |
toString()
|
java.util.Map<java.lang.String,java.lang.Object> |
XgetProperties()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerContainerImpl(BeanServer beanServer,
java.lang.String wsPath,
int port)
| Method Detail |
|---|
public void setApplicationLevelClassLoader(java.lang.ClassLoader applicationLevelClassLoader)
public java.lang.ClassLoader getApplicationLevelClassLoader()
public java.lang.String getPath()
public int getPort()
public static void setWebMode(boolean b)
public java.lang.String toString()
toString in class java.lang.Object
public void publishServer(javax.net.websocket.Endpoint endpoint,
javax.net.websocket.ServerConfiguration ilc)
publishServer in interface javax.net.websocket.ServerContainerendpoint - ilc -
public void connectToServer(javax.net.websocket.Endpoint endpoint,
javax.net.websocket.ClientConfiguration olc)
connectToServer in interface javax.net.websocket.ClientContainerpublic java.util.Set<javax.net.websocket.Session> getActiveSessions()
getActiveSessions in interface javax.net.websocket.ClientContainerpublic long getMaxSessionIdleTimeout()
getMaxSessionIdleTimeout in interface javax.net.websocket.ClientContainerpublic void setMaxSessionIdleTimeout(long timeout)
setMaxSessionIdleTimeout in interface javax.net.websocket.ClientContainerpublic long getMaxBinaryMessageBufferSize()
getMaxBinaryMessageBufferSize in interface javax.net.websocket.ClientContainerpublic void setMaxBinaryMessageBufferSize(long max)
setMaxBinaryMessageBufferSize in interface javax.net.websocket.ClientContainerpublic long getMaxTextMessageBufferSize()
getMaxTextMessageBufferSize in interface javax.net.websocket.ClientContainerpublic void setMaxTextMessageBufferSize(long max)
setMaxTextMessageBufferSize in interface javax.net.websocket.ClientContainerpublic java.util.Map<java.lang.String,java.lang.Object> XgetProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||