M - the generic typepublic abstract class ChatRoomUser<M extends Message<?>> extends Object implements Observer<M>, ActionCommand, Serializable
ChatRoomUser.| Modifier and Type | Field and Description |
|---|---|
protected ChatRoom<M> |
subject
The subject.
|
| Constructor and Description |
|---|
ChatRoomUser(ChatRoom<M> room,
IUser<?> user)
Instantiates a new chat room user.
|
| Modifier and Type | Method and Description |
|---|---|
M |
getObservable()
Gets the observable object.
|
IUser<?> |
getUser()
Gets the user.
|
void |
send(M message)
Send the given message.
|
void |
update(M observable)
Update.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteCopyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.