|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.lip6.sma.simulacion.server.mdxr.MDXRRegistrationRequest
public class MDXRRegistrationRequest
Classe pour une requête d'enregistrement d'un agent local.
Field Summary | |
---|---|
private LocalAgent |
mAgent
Agent enregistré (ou en cours de l'être). |
private String |
mAgentServiceName
Nom du service de l'agent local (classe + : + nom). |
private int |
mRegistrationOpID
ID de la requête. |
Constructor Summary | |
---|---|
MDXRRegistrationRequest(com.kallisys.zeroconf.MulticastDNSServer inServer,
com.kallisys.zeroconf.MulticastDNSClient inClient,
String inServiceType,
int inPort,
LocalAgent inAgent)
Constructeur à partir d'un agent, du port et du serveur MulticastDNS. |
Method Summary | |
---|---|
LocalAgent |
getAgent()
Accesseur sur l'agent. |
String |
getAgentServiceName()
Accesseur sur le nom de l'agent sur le réseau. |
int |
getRegistrationOpID()
Accesseur sur l'ID de la requête. |
void |
updateService(com.kallisys.zeroconf.NetService inService)
Mise à jour du service (en cas de succès ou d'échec de l'enregistrement). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int mRegistrationOpID
private String mAgentServiceName
private final LocalAgent mAgent
Constructor Detail |
---|
public MDXRRegistrationRequest(com.kallisys.zeroconf.MulticastDNSServer inServer, com.kallisys.zeroconf.MulticastDNSClient inClient, String inServiceType, int inPort, LocalAgent inAgent) throws IOException
inServer
- serveur mDNSinClient
- client mDNSinServiceType
- type du service mDNS.inPort
- port IP pour le service.inAgent
- agent.
IOException
- si un problème est survenu.Method Detail |
---|
public final int getRegistrationOpID()
public final String getAgentServiceName()
public final LocalAgent getAgent()
public final void updateService(com.kallisys.zeroconf.NetService inService)
inService
- service (dns).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |