|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.peergroup.StdPeerGroupParamAdv
@Deprecated public class StdPeerGroupParamAdv
Not actually an advertisement, but often acts as part of one.
Constructor Summary | |
---|---|
StdPeerGroupParamAdv()
Deprecated. Private constructor for new instances. |
|
StdPeerGroupParamAdv(Element root)
Deprecated. Private constructor for serialized instances. |
|
StdPeerGroupParamAdv(XMLElement doc)
Deprecated. Private constructor for xml serialized instances. |
Method Summary | |
---|---|
void |
addApp(ModuleClassID mcid,
Object module)
Deprecated. Add an application to the set of application entries described in this Advertisement. |
void |
addProto(ModuleClassID mcid,
Object module)
Deprecated. Add a protocol (message transport) to the set of protocol entries described in this Advertisement. |
void |
addService(ModuleClassID mcid,
Object module)
Deprecated. Add a service to the set of services entries described in this Advertisement. |
Map<ModuleClassID,Object> |
getApps()
Deprecated. Return the application entries described in this Advertisement. |
Document |
getDocument(MimeMediaType encodeAs)
Deprecated. |
Map<ModuleClassID,Object> |
getProtos()
Deprecated. Return the protocols (message transports) entries described in this Advertisement. |
Map<ModuleClassID,Object> |
getServices()
Deprecated. Return the services entries described in this Advertisement. |
void |
setApps(Map<ModuleClassID,Object> appsTable)
Deprecated. Replaces the table of applications described by this Advertisement. |
void |
setProtos(Map<ModuleClassID,Object> protosTable)
Deprecated. Replaces the table of protocols described by this Advertisement. |
void |
setServices(Map<ModuleClassID,Object> servicesTable)
Deprecated. Replaces the table of services described by this Advertisement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StdPeerGroupParamAdv()
public StdPeerGroupParamAdv(Element root)
root
- the root elementpublic StdPeerGroupParamAdv(XMLElement doc)
doc
- The XML serialization of the advertisement.Method Detail |
---|
public void addService(ModuleClassID mcid, Object module)
mcid
- The module class id of the module being added.module
- The module being added.public Map<ModuleClassID,Object> getServices()
public void addProto(ModuleClassID mcid, Object module)
mcid
- The module class id of the module being added.module
- The module being added.public Map<ModuleClassID,Object> getProtos()
public void addApp(ModuleClassID mcid, Object module)
mcid
- The module class id of the module being added.module
- The module being added.public Map<ModuleClassID,Object> getApps()
public void setServices(Map<ModuleClassID,Object> servicesTable)
servicesTable
- the services tablepublic void setProtos(Map<ModuleClassID,Object> protosTable)
protosTable
- The message transport descriptors for the group.public void setApps(Map<ModuleClassID,Object> appsTable)
appsTable
- The application descriptors for the group.public Document getDocument(MimeMediaType encodeAs)
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |