public class TaskFinishedService extends SocketService
Constructor and Description |
---|
TaskFinishedService() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept() |
boolean |
accept(UserIdentity authenticatedUser) |
void |
disconnected()
An anonymous user has been disconnected.
|
void |
disconnected(UserIdentity authenticatedUser)
The user has been disconnected.
|
java.lang.String |
getEndPointName()
Note: the name is checked on initialization, changing the name run-time has no effect.
|
void |
received(java.lang.String message)
Message received for an anonymous user.
|
void |
received(UserIdentity authenticatedUser,
java.lang.String message) |
boolean |
send(UserIdentity authenticatedUser,
TaskStatus taskStatus) |
accept, broadcast, close, hasSessions, onClose, onError, received, send, send
public TaskFinishedService()
public boolean accept(UserIdentity authenticatedUser)
accept
in class SocketService
public boolean accept()
accept
in class SocketService
public void received(UserIdentity authenticatedUser, java.lang.String message)
received
in class SocketService
public void received(java.lang.String message) throws java.lang.UnsupportedOperationException
SocketService
received
in class SocketService
java.lang.UnsupportedOperationException
public void disconnected(UserIdentity authenticatedUser)
SocketService
disconnected
in class SocketService
public void disconnected()
SocketService
disconnected
in class SocketService
public java.lang.String getEndPointName()
SocketService
getEndPointName
in class SocketService
public boolean send(UserIdentity authenticatedUser, TaskStatus taskStatus)
authenticatedUser
- taskStatus
- Copyright © 2015 Tampere University of Technology, Pori Department.