private class JoinManager.RegisterTask extends JoinManager.JoinTask
Modifier and Type | Field and Description |
---|---|
(package private) Entry[] |
regAttrs
Attributes with which to register the service.
|
proxyReg
Constructor and Description |
---|
JoinManager.RegisterTask(JoinManager.ProxyReg proxyReg,
Entry[] regAttrs)
Constructor that associates this task with the lookup service
referenced in the given
ProxyReg parameter. |
Modifier and Type | Method and Description |
---|---|
void |
run()
Attempts to register this join manager's service with the lookup
service referenced in this task's proxyReg field.
|
Entry[] regAttrs
JoinManager.RegisterTask(JoinManager.ProxyReg proxyReg, Entry[] regAttrs)
ProxyReg
parameter.proxyReg
- data structure that references the lookup service
with which the service is to be registeredregAttrs
- array of Entry objects whose elements are the
attributes with which to register the service.
The caller of this constructor should take steps
to guarantee that the contents of this parameter
do not change during the registration process
performed in this task.public void run() throws Exception
run
in class JoinManager.JoinTask
Exception
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.