|
||||||||||
| 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,
String wsPath,
int port)
|
|
| Method Summary | |
|---|---|
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. |
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. |
String |
getPath()
|
int |
getPort()
|
void |
publishServer(Endpoint endpoint,
ServerConfiguration ilc)
Publish the given endpoint with the provided configuration information. |
void |
setApplicationLevelClassLoader(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)
|
String |
toString()
|
Map<String,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,
String wsPath,
int port)
| Method Detail |
|---|
public void setApplicationLevelClassLoader(ClassLoader applicationLevelClassLoader)
public ClassLoader getApplicationLevelClassLoader()
public String getPath()
public int getPort()
public static void setWebMode(boolean b)
public String toString()
toString in class Object
public void publishServer(Endpoint endpoint,
ServerConfiguration ilc)
publishServer in interface ServerContainerendpoint - ilc -
public void connectToServer(Endpoint endpoint,
ClientConfiguration olc)
ClientContainer
connectToServer in interface ClientContainerpublic Set<Session> getActiveSessions()
getActiveSessions in interface ClientContainerpublic long getMaxSessionIdleTimeout()
getMaxSessionIdleTimeout in interface ClientContainerpublic void setMaxSessionIdleTimeout(long timeout)
setMaxSessionIdleTimeout in interface ClientContainerpublic long getMaxBinaryMessageBufferSize()
getMaxBinaryMessageBufferSize in interface ClientContainerpublic void setMaxBinaryMessageBufferSize(long max)
setMaxBinaryMessageBufferSize in interface ClientContainerpublic long getMaxTextMessageBufferSize()
getMaxTextMessageBufferSize in interface ClientContainerpublic void setMaxTextMessageBufferSize(long max)
setMaxTextMessageBufferSize in interface ClientContainerpublic Map<String,Object> XgetProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||