- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getNameServiceClient (0.17 sec)
-
src/main/java/jcifs/context/BaseContext.java
@Override public DfsResolver getDfs () { return this.dfs; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getNameServiceClient() */ @Override public NameServiceClient getNameServiceClient () { return this.nameServiceClient; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getBufferCache() */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 27 18:25:00 UTC 2022 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName(getTestServer())); } // #68 @Test ( expected = SmbException.class ) public void testPoolLogonFail () throws CIFSException, UnknownHostException { CIFSContext ctx = withTestNTLMCredentials(getContext()); ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName("0.0.0.0"), 12345); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
this.context = SingletonContext.getInstance(); } @Test public void testSingletonInit () { assertNotNull(this.context.getBufferCache()); assertNotNull(this.context.getNameServiceClient()); assertNotNull(this.context.getTransportPool()); assertNotNull(this.context.getUrlHandler()); assertNotNull(this.context.getCredentials()); } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.svr = svr; this.tc = tc; } @Override public void run () { try { this.ans = this.tc.getNameServiceClient().getNbtAllByName(this.host, this.type, this.scope, this.svr); } catch ( UnknownHostException ex ) { this.uhe = ex; } catch ( Exception ex ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
final NameServiceClientImpl nsc = new NameServiceClientImpl(ctx); ctx = new CIFSContextWrapper(ctx) { @Override public jcifs.NameServiceClient getNameServiceClient () { return nsc; } }; try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
if ( this.fileLocator.getType() == TYPE_WORKGROUP ) { getContext().getNameServiceClient().getByName(this.url.getHost(), true); } else { getContext().getNameServiceClient().getByName(this.url.getHost()).getHostName(); } } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
this.out = this.socket.getOutputStream(); this.in = this.socket.getInputStream(); SessionServicePacket ssp = new SessionRequestPacket(tc.getConfig(), calledName, tc.getNameServiceClient().getLocalName()); this.out.write(this.sbuf, 0, ssp.writeWireFormat(this.sbuf, 0)); if ( readn(this.in, this.sbuf, 0, 4) < 4 ) { try { this.socket.close();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0)