|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetwork.NetworkService
public abstract class NetworkService
Field Summary | |
---|---|
(package private) Communication |
communication
|
(package private) MessagingService |
messagingService
|
Constructor Summary | |
---|---|
NetworkService()
|
Method Summary | |
---|---|
abstract void |
authenticateDevice(Device device)
Sends device information to the Authentication Service in order to authenticate the device. |
abstract void |
authenticateUser(Account account,
String credentials)
Sends user credentials to the Authentication Service in order to authenticate the user (necessary when the user logs in). |
protected abstract void |
checkForConnectivity()
|
abstract void |
contactRemoteService(DiscoveryServiceRequest request)
Sends the given request to the remote Discovery Service. |
abstract void |
contactRemoteService(Message message)
Send the given request to the remote Naming Service. |
abstract void |
contactRemoteService(NamingServiceRequest request)
Sends the given request to the remote Naming Service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
MessagingService messagingService
Communication communication
Constructor Detail |
---|
public NetworkService()
Method Detail |
---|
public abstract void contactRemoteService(DiscoveryServiceRequest request)
request
- - the request, its type and content as described in the user storiespublic abstract void contactRemoteService(NamingServiceRequest request)
request
- - the request, its type and content as described in the user storiespublic abstract void contactRemoteService(Message message)
message
- - the message sent by the logged-in user to another user.public abstract void authenticateDevice(Device device)
device
- public abstract void authenticateUser(Account account, String credentials)
account
- - the use's account informationcredentials
- - the password the user input or some other form of security credentialsprotected abstract void checkForConnectivity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |