Searched refs:scopes (Results 26 - 48 of 48) sorted by relevance

12

/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SSrvDereg.java111 // We need to find all the scopes for this guy and put them into the
119 // If the record is there, then get the scopes.
122 hdr.scopes = (Vector)rec.getScopes().clone();
131 hdr.scopes = (Vector)config.getSAConfiguredScopes().clone();
H A DSLPV1SSrvTypeMsg.java99 hdr.scopes = new Vector();
100 hdr.scopes.addElement(scope);
H A DActiveDiscoverer.java191 Vector scopes = config.getSAConfiguredScopes();
199 scopes,
322 // Add the scopes to the configured scopes. Scopes from configured
323 // DAs count as configured scopes.
325 config.addPreconfiguredDAScopes(hdr.scopes);
331 hdr.scopes,
H A DSunServerDATable.java46 * attribute, scopes. The attribute contains a list of scopes supported
48 * DA address as the host, followed by the list of scopes as an attribute
51 * service:directory-agent.sun:// 199.200.200.5/scopes=eng, corp, freeb
53 * The scopes of the registration are the scopes provided as the Sun-specific
87 // Get the vector of SA scopes.
101 * @param scopes The scopes.
114 Vector scopes,
113 recordNewDA(ServiceURL url, Vector scopes, long timestamp, int version, Vector attrs, String spis) argument
246 removeDA(InetAddress address, Vector scopes) argument
326 findDAScopes(Vector scopes) argument
[all...]
H A DCDAAdvert.java94 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true);
98 hdr.unescapeScopeStrings(hdr.scopes);
102 DATable.validateScopes(hdr.scopes, hdr.locale);
H A DSLPV1SAttrMsg.java128 hdr.scopes = new Vector();
129 hdr.scopes.addElement(scope);
199 this.hdr.scopes);
H A DSLPHeaderV2.java79 // Maximum protected scopes allowed.
1122 static void escapeScopeStrings(Vector scopes) argument
1125 int i, n = scopes.size();
1129 String scope = (String)scopes.elementAt(i);
1131 scopes.setElementAt(
1139 static void unescapeScopeStrings(Vector scopes) argument
1142 int i, n = scopes.size();
1146 String scope = (String)scopes.elementAt(i);
1148 scopes.setElementAt(
1160 Vector scopes,
1157 getDAAdvert(short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
[all...]
H A DSLPHeaderV1.java465 hdr.scopes = null;
490 " scopes=``" + scopes + "''\n" +
835 Vector scopes,
839 // If scopes vector is null, then return all scopes for this
842 if (scopes.size() <= 0) {
843 scopes = SLPConfig.getSLPConfig().getSAConfiguredScopes();
847 return new SLPV1SDAAdvert(this, xid, timestamp, url, scopes, attrs);
832 getDAAdvert(short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
H A DRequestHandler.java845 hdr.scopes});
854 // Check scopes.
856 Vector scopes = (Vector)hdr.scopes.clone();
858 DATable.filterScopes(scopes,
861 // If all scopes not equal, it isn't a shutdown message for us.
863 if (scopes.size() > 0) {
922 // Check scopes.
924 Vector scopes = (Vector)hdr.scopes
[all...]
H A DSLPTemplateRegistry.java292 // Deregister in all scopes.
394 // Templates should be registered in all scopes. Look for them
397 Vector scopes = ServiceLocationManager.findScopes();
429 scopes,
H A DServiceLocationManager.java42 * scopes.
153 * scopes defined in the configuration file and ensure that the
155 * scopes which is returned. This method enforces the constraint
167 // For the UA, return configured scopes if we have them.
171 // If no configured scopes, get discovered scopes from
322 // Perform SA discovery, since no DA scopes found.
355 new Vector(), // seeking scopes...
360 Vector scopes =
366 return scopes;
[all...]
H A DTransact.java93 * same equivalence clase w.r.t. scopes.
209 * same equivalence clase w.r.t. scopes.
371 addr, rec.scopes});
375 daTable.removeDA(addr, rec.scopes);
979 // Add scopes from the SAAdvert if not already there.
983 int j, m = hdr.scopes.size();
986 Object o = hdr.scopes.elementAt(j);
H A DSrvLocHeader.java119 Vector scopes = null; // list of scopes field in class:SrvLocHeader
246 Vector scopes,
243 getDAAdvert(short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
H A DSLPV1SSrvMsg.java175 // Set up scopes vector.
177 hdr.scopes = new Vector();
186 hdr.scopes.addElement(scope.toLowerCase().trim());
294 // for nonprotected scopes.
H A DSLPConfig.java193 // Add default scope to scopes for SA.
200 // Initialize SA scopes. This uses a Sun specific property for
201 // scopes only used by the SA and adds in the DA scopes.
836 // Vector of configured scopes.
840 // Vector of configures scopes for SA.
844 // Vector of scopes only in the sa server.
848 // Return the configured scopes.
854 // Return SA scopes.
861 // Return the configured scopes fo
871 addPreconfiguredDAScopes(Vector scopes) argument
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_net.c70 const char *scopes; member in struct:tcp_rqst
113 * containing DAs corresponding to 'scopes'. 'free_target' directs
125 const char *scopes, SLPBoolean free_target,
162 rqst->scopes = scopes;
181 * list of DAs corresponding to 'scopes'.
189 const char *scopes) {
203 if (make_header(hp, header, scopes) != SLP_OK)
318 hp, ctarg, scopes, SLP_FALSE, slp_get_xid(header));
331 void slp_mc_send(slp_handle_impl_t *hp, const char *scopes) { argument
124 slp_uc_tcp_send(slp_handle_impl_t *hp, slp_target_t *target, const char *scopes, SLPBoolean free_target, unsigned short xid) argument
188 slp_uc_udp_send(slp_handle_impl_t *hp, slp_target_t *target, const char *scopes) argument
463 const char *scopes; local
634 make_header(slp_handle_impl_t *hp, char *header, const char *scopes) argument
1003 mc_recvmsg(struct pollfd *pfd, nfds_t nfds, slp_handle_impl_t *hp, const char *scopes, char *header, void **collator, unsigned long long final_to, unsigned long long sent, unsigned long long *now, int *noresults, int *anyresults, int timeout) argument
1119 tcp_handoff(slp_handle_impl_t *hp, const char *scopes, struct sockaddr_in *sin, unsigned short xid) argument
[all...]
H A DSLPFindAttrs.c199 char *surl, *scopes, *attrs, *spis; local
218 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode)
237 free(scopes);
256 char *surl, *scopes, *attrs; local
274 if (slp_unpackSAAdvert(reply, &surl, &scopes, &attrs) != SLP_OK) {
289 free(scopes);
321 * 4: scopes length
322 * 5: scopes (filled in later by networking code)
355 /* set up the scopes and prlist pointers into iov */
357 msg->scopes
398 slp_packAttrRqst_single(const char *url, const char *scopes, const char *ids, char **msg, const char *lang) argument
[all...]
H A DSLPFindSrvs.c227 char *surl, *scopes, *attrs, *spis; local
242 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode)
263 free(scopes);
285 char *surl, *scopes, *attrs; local
300 if (slp_unpackSAAdvert(reply, &surl, &scopes, &attrs) != SLP_OK) {
317 free(scopes);
350 * 4: scopes length
351 * 5: scopes (filled in later by networking code)
384 /* set up the scopes and prlist pointers into iov */
386 msg->scopes
429 slp_packSrvRqst_single(const char *type, const char *scopes, const char *filter, char **msg, const char *lang) argument
[all...]
H A DSLPUtils.c27 * SLPFindScopes (queries for all known scopes)
43 void *scopes; member in struct:scopes_tree
58 * Finds scopes according the the user administrative model.
70 /* first try administratively configured scopes */
77 /* got scopes */
123 /* unescape scopes list */
136 * Finds scopes according to the adminstrative scoping model. A
137 * comma-separated list of scopes is returned in *ppcScopes; the
139 * If the return_default parameter is true, and no scopes are found,
175 static SLPBoolean saadvert_callback(SLPHandle hp, char *scopes, argument
278 char *surl, *scopes, *attrs; local
411 char **scopes = (char **)cookie; local
[all...]
H A DSLPReg.c133 static SLPError find_SAscopes(char **scopes);
280 /* type, scopes, and attrs */
402 const char *scopes, const char *attrs,
419 2 + strlen(scopes) +
446 /* scopes */
447 if ((err = slp_add_string(m, msgLen, scopes, &len)) != SLP_OK)
834 * Returns configured scopes in scopes. Caller should free *scopes
838 static SLPError find_SAscopes(char **scopes) { argument
401 packSrvDereg(slp_handle_impl_t *hp, const char *url, const char *scopes, const char *attrs, struct reg_msg **msg) argument
[all...]
H A Dslp_ua_common.c50 SLPError slp_ua_common(SLPHandle hSLP, const char *scopes, argument
64 if ((err = slp_new_target_list(hp, scopes, &targets)) != SLP_OK)
H A DSLPFindSrvTypes.c146 * 4: scopes length
147 * 5: scopes (filled in later by networking code)
185 /* set up the scopes and prlist pointers into iov */
187 msg->scopes = &(msg->iov[5]);
H A Dslp-internal.h124 struct iovec *scopes; member in struct:__anon2579

Completed in 62 milliseconds

12