@Override public void run () { try { this.ans = this.tc.getNameServiceClient().getNbtByName(this.host, this.type, this.scope, this.svr); } catch ( UnknownHostException ex ) { this.uhe = ex; } catch ( Exception ex ) { this.uhe = new UnknownHostException(ex.getMessage()); } finally { synchronized ( this.sem ) { this.sem.count--; this.sem.notify(); } } }
@Override public void run () { try { this.ans = this.tc.getNameServiceClient().getNbtByName(this.host, this.type, this.scope, this.svr); } catch ( UnknownHostException ex ) { this.uhe = ex; } catch ( Exception ex ) { this.uhe = new UnknownHostException(ex.getMessage()); } finally { synchronized ( this.sem ) { this.sem.count--; this.sem.notify(); } } }
NameServiceClient nameServiceClient = getTransportContext().getNameServiceClient(); if ( pathInfo == null || server == null ) { String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress(); dc = nameServiceClient.getByName(mb);
if ( msg != null && ( msg.startsWith("NTLM ") || ( offerBasic && msg.startsWith("Basic ") ) ) ) { if ( this.loadBalance ) { dc = new UniAddress(getTransportContext().getNameServiceClient().getNbtByName(this.domainController, 0x1C, null));
NameServiceClient nameServiceClient = getTransportContext().getNameServiceClient(); if ( pathInfo == null || server == null ) { String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress(); dc = nameServiceClient.getByName(mb);
if ( msg != null && ( msg.startsWith("NTLM ") || ( offerBasic && msg.startsWith("Basic ") ) ) ) { if ( this.loadBalance ) { dc = new UniAddress(getTransportContext().getNameServiceClient().getNbtByName(this.domainController, 0x1C, null));
Address addr = this.ctx.getNameServiceClient().getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null); this.addresses = new UniAddress[1]; this.addresses[ 0 ] = this.ctx.getNameServiceClient().getByName(addr.getHostAddress());
Address addr = this.ctx.getNameServiceClient().getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null); this.addresses = new UniAddress[1]; this.addresses[ 0 ] = this.ctx.getNameServiceClient().getByName(addr.getHostAddress());