ServiceURL
sleepyTime = (ServiceURL.LIFETIME_MAXIMUM / 2) * 1000;
ServiceURL url = new ServiceURL(Defaults.DA_SERVICE_TYPE +
ServiceURL.LIFETIME_MAXIMUM);
new ServiceURL(advert.URL.toString(),
ServiceURL.LIFETIME_MAXIMUM);
public void addAttributes(ServiceURL URL,
public void deleteAttributes(ServiceURL URL,
public void register(ServiceURL URL,
public void deregister(ServiceURL URL)
CAttrMsg(Locale locale, ServiceURL url, Vector scopes, Vector tags)
URL = new ServiceURL(surl, lifetime);
return ServiceURL.LIFETIME_MAXIMUM;
(lifetime > ServiceURL.LIFETIME_MAXIMUM ?
ServiceURL.LIFETIME_MAXIMUM:lifetime);
ServiceURL URL = null; // The DA's service URL
ServiceURL URL = null; // The DA's service URL
URL = new ServiceURL(buf.toString(), ServiceURL.LIFETIME_NONE);
ServiceURL url,
ServiceURL url,
final Hashtable getURLSignature(ServiceURL URL) {
final void setURLSignature(ServiceURL URL, Hashtable sig)
ServiceURL surl =
ServiceURL urlEntry,
ServiceURL URL;
ServiceURL urlEntry,
public ServiceLocationEnumeration findAttributes(ServiceURL URL,
ServiceURL url = (ServiceURL)e.nextElement();
void reg(ServiceURL URL, CSrvReg sr) {
void dereg(ServiceURL URL) {
boolean isLocalHostURL(ServiceURL url) {
public void register(ServiceURL URL,
public void deregister(ServiceURL URL)
public void addAttributes(ServiceURL URL,
public void deleteAttributes(ServiceURL URL,
private void registerInternal(ServiceURL URL,
private void deregisterInternal(ServiceURL URL,
ServiceURL URL = null; // nonNull if a URL query.
URL = new ServiceURL(urlOrServiceType, ServiceURL.LIFETIME_NONE);
ServiceURL url,
ServiceURL url,
ival <= ServiceURL.LIFETIME_MAXIMUM) {
protected ServiceURL
ServiceURL url = null;
parseServiceURLOut(ServiceURL surl,
ServiceURL url,
ServiceURL url,
ServiceURL
ServiceURL url = null;
url = new ServiceURL(ssurl, lifetime);
parseServiceURLOut(ServiceURL surl,
ServiceURL url,
ServiceURL surl =
new ServiceURL(TEMPLATE_SERVICE_TYPE +
ServiceURL.LIFETIME_MAXIMUM);
ServiceURL turl = findVersionedURL(serviceType,
ServiceURL turl = findVersionedURL(serviceType,
private ServiceURL findVersionedURL(ServiceType serviceType,
ServiceURL turl = null;
ServiceURL surl = (ServiceURL)results.nextElement();
ServiceURL.LIFETIME_DEFAULT);
ServiceURL url,
ServiceURL url,
ServiceURL surl = (ServiceURL)en.nextElement();
ServiceURL surl = (ServiceURL)en.nextElement();
ServiceURL url,
void initialize(ServiceURL url, Vector scopes, Vector attrs)
ServiceURL URL = null; // the service URL.
ServiceURL surl = (ServiceURL)en.nextElement();
ServiceURL URL = null; // the service URL.
recordNewDA(ServiceURL url,
ServiceURL url;
private String makeKey(ServiceURL url, Locale locale) {
forwardRegistrations(ServiceURL url,
ServiceURL regurl;
ServiceURL regurl;
boolean register(ServiceURL url, Vector attrs,
void deregister(ServiceURL url, Vector scopes, Hashtable urlSig)
void updateRegistration(ServiceURL url, Vector attrs,
deleteAttributes(ServiceURL url,
Hashtable findAttributes(ServiceURL url,
getServiceRecord(ServiceURL URL, Locale locale);
ServiceURL getServiceURL();
ServiceURL url = null;
if (lifetime == ServiceURL.LIFETIME_MAXIMUM) {
lifetime = ServiceURL.LIFETIME_PERMANENT;
url = new ServiceURL(surl, lifetime);
ServiceURL url = rec.getServiceURL();
ServiceURL url =
new ServiceURL(surl.toString(), (int)lifetime);
private ServiceURL serviceURL = null; // the service URL
ServiceRecordInMemory(ServiceURL surl, Vector alist,
public final ServiceURL getServiceURL() {
ServiceURL url = rec.getServiceURL();
register(ServiceURL url, Vector attrs,
deregister(ServiceURL url, Vector scopes, Hashtable urlSig)
updateRegistration(ServiceURL url, Vector attrs,
deleteAttributes(ServiceURL url,
findAttributes(ServiceURL url,
getServiceRecord(ServiceURL URL, Locale locale) {
ServiceURL surl = rec.getServiceURL();
initializeURLScopeLangTableVector(ServiceURL url,
deregisterInternal(ServiceURL url, Vector scopes, String lang) {
findExistingRecord(ServiceURL surl, Vector scopes, String lang) {
checkScopeStatus(ServiceURL surl,
private void checkForExistingUnderOtherServiceType(ServiceURL url,
ServiceURL recURL = elem.record.getServiceURL();
ServiceURL surl = rec.getServiceURL();
ServiceURL surl = rec.getServiceURL();
ServiceURL surl = req.URL;
ServiceStore.ServiceRecord getServiceRecord(ServiceURL URL,
ServiceURL url =
new ServiceURL(Defaults.SUN_SA_SERVICE_TYPE + "://" +
ServiceURL.LIFETIME_MAXIMUM);
private long getSleepIncrement(ServiceURL url) {
ServiceURL url = (ServiceURL)urls.nextElement();
ServiceURL url =
new ServiceURL(Defaults.DA_SERVICE_TYPE + "://" +
ServiceURL.LIFETIME_DEFAULT);
ServiceURL url = null;
ServiceURL surl = null;
surl = (ServiceURL)en.nextElement();
url = new ServiceURL(Defaults.SA_SERVICE_TYPE + "://" +
ServiceURL.LIFETIME_DEFAULT);
ServiceURL surl = rec.getServiceURL();
ServiceURL surl = rec.getServiceURL();
ServiceURL surl = req.URL;
ServiceURL surl = req.URL;
if (!(obj instanceof ServiceURL)) {
ServiceURL surl = (ServiceURL)obj;
class ServiceURLV1 extends ServiceURL implements Serializable {
ServiceURL url,
ServiceURL url = (ServiceURL)serviceURLs.elementAt(i);
recordNewDA(ServiceURL url,
ServiceURL adURL = formServiceTableDAURL(url, attrs);
ServiceURL adURL = (ServiceURL)daURLs.nextElement();
ServiceURL url = (ServiceURL)en.nextElement();
private ServiceURL formServiceTableDAURL(ServiceURL url, Vector attrs) {
ServiceURL daURL =
new ServiceURL(Defaults.SUN_DA_SERVICE_TYPE+
findAttributes(ServiceURL URL, Vector scopes, Vector attributeIds)
if (t1 instanceof ServiceURL) {
(ServiceURL)t1,
if (t1 instanceof ServiceURL) {
(ServiceURL)t1,
ServiceURL url =
new ServiceURL(Defaults.DA_SERVICE_TYPE +
ServiceURL.LIFETIME_DEFAULT);
ServiceURL url =
new ServiceURL(Defaults.SA_SERVICE_TYPE + "://" +
ServiceURL.LIFETIME_DEFAULT);