|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Server.SessionWrapper
A thread class responsible for all of the delivery opeartions on the associated session
Field Summary | |
private Session |
session
The cloned session instance associated with this session thread |
Constructor Summary | |
(package private) |
SessionWrapper(Session session)
Construct a new object by synchronizing a new object |
Method Summary | |
void |
newMessage(SocketThread socketThread,
java.lang.String msg)
Send a new message to all members of this session |
void |
synchronizeSession(Session session)
Clone the local session to match a given session |
Methods inherited from class java.lang.Object |
|
Field Detail |
private Session session
Constructor Detail |
SessionWrapper(Session session)
session
- The session to synchronizeMethod Detail |
public final void synchronizeSession(Session session)
session
- The session to clonepublic final void newMessage(SocketThread socketThread, java.lang.String msg)
socketThread
- The sending socket threadmsg
- The message to send
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |