- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for getHandle (0.47 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SmbPipeOutputStream.java
return this.handle.ensureOpen(); } /** * Gets the pipe handle implementation for this output stream. * * @return the handle */ protected SmbPipeHandleImpl getHandle() { return this.handle; } @Override public void close() { // ignore, the shared file descriptor is closed by the pipe handle }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
} @Test @DisplayName("getHandle returns the exact handle instance") void getHandle_returnsHandle() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); // Act SmbPipeHandleImpl got = out.getHandle(); // Assert assertSame(handle, got, "getHandle should expose the same instance passed to constructor"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @throws DcerpcException * if there is an error establishing the connection */ public static DcerpcHandle getHandle(final String url, final CIFSContext tc) throws MalformedURLException, DcerpcException { return getHandle(url, tc, false); } /** * Get a handle to a service * * @param url * the DCE/RPC service URLCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @throws MalformedURLException if the URL is malformed * @throws DcerpcException if DCERPC initialization fails */ public static DcerpcHandle getHandle(final String url, final NtlmPasswordAuthentication auth) throws UnknownHostException, MalformedURLException, DcerpcException { if (url.startsWith("ncacn_np:")) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
this.context = context; try { // Create DCE/RPC handle for witness service String rpcUrl = buildWitnessRpcUrl(serverAddress); this.rpcHandle = DcerpcHandle.getHandle(rpcUrl, context); this.rpcHandle.bind(); this.connected = true; log.debug("Connected to witness service at {}", serverAddress.getHostAddress()); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
// SmbTransport trans = SmbTransport.getSmbTransport(dc, 0); // DfsReferral[] dr = trans.getDfsReferrals(auth, "\\" + domainName, 1); // // handle = DcerpcHandle.getHandle("ncacn_np:" + // UniAddress.getByName(dr[0].server).getHostAddress() + // "[\\PIPE\\netdfs]", auth); // try { // rpc = new MsrpcDfsRootEnum(domainName);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} } } FileEntry[] doDfsRootEnum() throws IOException { MsrpcDfsRootEnum rpc; final FileEntry[] entries; DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + getAddress().getHostAddress() + "[\\PIPE\\netdfs]", auth); try { rpc = new MsrpcDfsRootEnum(getServer()); handle.sendrecv(rpc); if (rpc.retval != 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
this.serverAddress = serverAddress; this.context = context; try { // Create RPC handle to witness service this.handle = DcerpcHandle.getHandle( "ncacn_ip_tcp:" + serverAddress.getHostAddress() + "[135]", WITNESS_INTERFACE_UUID, WITNESS_INTERFACE_VERSION, context );Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
* @return {@link ResourceBundle} * @see ResourceBundle#getBundle(String) */ public static final ResourceBundle getBundle(final String name) { assertArgumentNotEmpty("name", name); try { return ResourceBundle.getBundle(name); } catch (final MissingResourceException ignore) { return null; } }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader()); assertThat(bundle, is(notNullValue())); } /** * @throws Exception */ @Test public void testGetString() throws Exception { final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.8K bytes - Click Count (0)