- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 121 for ServerMessageBlock (0.07 sec)
-
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
import jcifs.smb1.util.Hexdump; abstract class AndXServerMessageBlock extends ServerMessageBlock { private static final int ANDX_COMMAND_OFFSET = 1; private static final int ANDX_RESERVED_OFFSET = 2; private static final int ANDX_OFFSET_OFFSET = 3; private byte andxCommand = (byte) 0xFF; private int andxOffset = 0; ServerMessageBlock andx = null; AndXServerMessageBlock() { }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDelete.java
import jcifs.SmbConstants; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 Delete file request message. * * This command is used to delete a file on the server. * The file must not be in use before it can be deleted. */ public class SmbComDelete extends ServerMessageBlock { private final int searchAttributes; /**
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/smb1/smb1/SmbComCreateDirectory.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; class SmbComCreateDirectory extends ServerMessageBlock { SmbComCreateDirectory(final String directoryName) { this.path = directoryName; command = SMB_COM_CREATE_DIRECTORY; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
} @Test public void testConstructor() { // Test if the constructor sets the file name and command correctly assertEquals(TEST_FILE_NAME, smbComQueryInformation.path); assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, smbComQueryInformation.command); } @Test public void testWriteParameterWordsWireFormat() { // This method is expected to do nothing and return 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 COM_SET_INFORMATION command implementation. * * This command sets file attributes and last write time for a file or directory. * * @author mbechler */ public class SmbComSetInformation extends ServerMessageBlock { private final int fileAttributes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java
import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 COM_TREE_DISCONNECT command implementation. * * This command disconnects from a tree connection (share) on the server. * It releases the tree ID and terminates access to the share. */ public class SmbComTreeDisconnect extends ServerMessageBlock { /**
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/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.config.PropertyConfiguration; import jcifs.internal.smb1.ServerMessageBlock; public class SmbComRenameTest { private Configuration config; private SmbComRename smbComRename; @Mock private Configuration mockConfig; @BeforeEach
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/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
} @Test void testWriteParameterWordsWireFormat_PrimaryTransaction() { // Test the writeParameterWordsWireFormat for a primary transaction. smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; smbComNtTransaction.function = SmbComNtTransaction.NT_TRANSACT_QUERY_SECURITY_DESC; smbComNtTransaction.maxSetupCount = 1; smbComNtTransaction.totalParameterCount = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
void testConstructor() { // Verify that the command is set to SMB_COM_NEGOTIATE assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command, "Constructor should set the command to SMB_COM_NEGOTIATE."); // Verify that flags2 is set to the default flags assertEquals(ServerMessageBlock.DEFAULT_FLAGS2, smbComNegotiate.flags2, "Constructor should set flags2 to DEFAULT_FLAGS2."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
import jcifs.internal.SmbNegotiationRequest; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.util.Strings; /** * SMB1 Negotiate Protocol request message. * * This command is used to negotiate the SMB protocol dialect * and security parameters between client and server. */ public class SmbComNegotiate extends ServerMessageBlock implements SmbNegotiationRequest { private final boolean signingEnforced;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0)