- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 121 for ServerMessageBlock (0.09 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
*/ public SmbComLockingAndX(final Configuration config) { super(config); } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#writeParameterWordsWireFormat(byte[], int) */ @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
doNothing().when(transport).connect(); // Setup response for tree connect doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1); if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java
*/ package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Logoff AndX request message. * * This command is used to terminate a user session that was * previously established with a Session Setup AndX command. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java
package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Delete Directory request message. * * This command is used to delete a directory on the server. * The directory must be empty before it can be deleted. */ public class SmbComDeleteDirectory extends ServerMessageBlock { /** * Creates a new SMB1 delete directory request. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
*/ @ExtendWith(MockitoExtension.class) class SmbComCloseTest { /** * Ensure the constructor sets the {@code command} field of the * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}. */ @Test @DisplayName("happy: constructor sets command correctly") void testConstructorSetsCommand() { SmbComClose close = new SmbComClose(1, 12345L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
buf[1] = 0x66; // andxCommand ServerMessageBlock.writeInt2(50, buf, 3); // andxOffset ServerMessageBlock.writeInt2(20, buf, 9); // byteCount for main block // At offset 50, the implementation writes andx.wordCount (0) to buffer // Then reads byteCount at offset 51 ServerMessageBlock.writeInt2(20, buf, 51); int n = block.readAndXWireFormat(buf, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
*/ @Override public void setupResponse(final Response resp) { if (!(resp instanceof ServerMessageBlock)) { return; } ((ServerMessageBlock) resp).setUseUnicode(this.useUnicode); } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#isSigningEnabled() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java
import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Seek command response implementation. * Handles server responses to file seek operations, returning the new file * position after a seek request in SMB1 protocol file operations. * * @author mbechler */ public class SmbComSeekResponse extends ServerMessageBlock { private long offset; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java
import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 NT Cancel command implementation. * Provides functionality to cancel previously issued SMB1 NT transaction commands * that are in progress, allowing clients to abort long-running operations. * * @author mbechler */ public class SmbComNtCancel extends ServerMessageBlock { /** * Constructs an NT cancel command. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Query Information request message. * * This command is used to retrieve basic file information * such as attributes, size, and timestamps. */ public class SmbComQueryInformation extends ServerMessageBlock { /** * Constructs a query information request. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)