|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Interface for handling services associated with Server.
Services| Method Summary | |
void |
broadcastServer(java.lang.String message)
Broadcasts the message to all clients connected to the server. |
void |
broadcastServerButClient(java.lang.String butClientID,
java.lang.String message)
Broadcasts the message to all clients connected to the server except for the specified client. |
int |
getClientTimeout()
Returns the time in minutes that an inactive client is removed from the server. |
java.lang.Object |
getServerAttribute(java.lang.String name)
Gets a ServerSetting. |
long |
getUnityStartTime()
Retrieves the server start time. |
java.lang.String |
getUnityVersion()
Returns the version of Unity. |
void |
removeServerAttribute(java.lang.String name)
Removes a ServerSetting. |
void |
setServerAttribute(java.lang.String name,
java.lang.Object value)
Sets a ServerSetting. |
| Method Detail |
public java.lang.String getUnityVersion()
public int getClientTimeout()
public long getUnityStartTime()
public java.lang.Object getServerAttribute(java.lang.String name)
public void setServerAttribute(java.lang.String name,
java.lang.Object value)
public void removeServerAttribute(java.lang.String name)
public void broadcastServer(java.lang.String message)
public void broadcastServerButClient(java.lang.String butClientID,
java.lang.String message)
butClientID - the client omitted from the broadcast
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||