| Package | Description |
|---|---|
| org.jscsi.exception |
This package contains all exceptions, which can occur by this iSCSI (RFC 3720) implementation.
|
| org.jscsi.parser |
This package provides all main classes which are needed to deserialize and serialize
all the messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.asynchronous |
This package provides all classes which are needed to deserialize and serializes the
asynchronous message defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.data |
This package provides all classes which are needed to deserialize and serializes the
data in and out messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.datasegment |
This package provides all main classes which are needed to deserialize and serialize
all the attached data segments of messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.login |
This package provides all classes which are needed to deserialize and serializes the login request and
response messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.logout |
This package provides all classes which are needed to deserialize and serializes the logout request and
response messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.nop |
This package provides all classes which are needed to deserialize and serialize the
NOP in and out messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.r2t |
This package provides all classes which are needed to deserialize and serializes the
ready2transfer message defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.reject |
This package provides all classes which are needed to deserialize and serializes the
reject message defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.scsi |
This package provides all classes which are needed to deserialize and serialize
the SCSI Command and SCSI Response messages defined by the iSCSI Standard
(RFC 3720).
|
| org.jscsi.parser.snack |
This package provides all classes which are needed to deserialize and serialize the
SNACKRequest messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.text |
This package provides all classes which are needed to deserialize and serializes the
text request and response messages defined by the iSCSI Standard (RFC 3720).
|
| org.jscsi.parser.tmf |
This package provides all classes which are needed to deserialize and serialize the
task management function request and response messages defined by the iSCSI Standard
(RFC 3720).
|
| org.jscsi.utils |
Simple util package providing common tools for jSCSI.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NoSuchConnectionException
NoSuchConnectionException
|
class |
NoSuchSessionException
NoSuchSessionException
|
class |
OperationalTextKeyException
OperationalTextKeyException
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractMessageParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
int |
ProtocolDataUnit.deserialize(ByteBuffer pdu)
Deserializes (parses) a given byte representation of a PDU to an PDU
object.
|
protected void |
AbstractMessageParser.deserializeBytes12to15(int line)
Parse the bytes
12 till 15 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes24to27(int line)
Parse the bytes
24 till 27 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes24to27(int line)
Parse the bytes
24 till 27 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes24to27(int line)
Parse the bytes
24 till 27 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes28to31(int line)
Parse the bytes
28 till 31 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes28to31(int line)
Parse the bytes
28 till 31 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes28to31(int line)
Parse the bytes
28 till 31 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes32to35(int line)
Parse the bytes
32 till 35 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes32to35(int line)
Parse the bytes
32 till 35 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes32to35(int line)
Parse the bytes
32 till 35 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
TargetMessageParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
protected void |
InitiatorMessageParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
protected abstract void |
AbstractMessageParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
protected void |
AbstractMessageParser.deserializeBytes8to11(int line)
Parse the bytes
8 till 11 in the Basic Header
Segment. |
int |
ProtocolDataUnit.read(SocketChannel sChannel)
Reads from the given
SocketChannel all the neccassary bytes
to fill this PDU. |
ByteBuffer |
ProtocolDataUnit.serialize()
Serialize all informations of this PDU object to its byte representation.
|
protected int |
AbstractMessageParser.serializeBytes8to11()
Serializes the bytes
8 till 11 in the Basic
Header Segment. |
int |
ProtocolDataUnit.serializeDataSegment(ByteBuffer dst,
int offset)
Serializes the data segment (binary or key-value pairs) to a destination
array, staring from offset to write.
|
int |
ProtocolDataUnit.write(SocketChannel sChannel)
Writes this
ProtocolDataUnit object to the given SocketChannel. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AsynchronousMessageParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
AsynchronousMessageParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
AsynchronousMessageParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DataOutParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
DataInParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
DataOutParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
DataInParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
DataOutParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
DataInParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
DataOutParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
DataInParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
DataOutParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
DataInParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
DataInParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
SettingsMap |
IDataSegment.getSettings()
Returns a
SettingsMap instance of this IDataSegment instance. |
SettingsMap |
AbstractDataSegment.getSettings()
Returns a
SettingsMap instance of this IDataSegment instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LoginResponseParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
LoginRequestParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
ISID.checkIntegrity()
This method checks, if all fields are valid.
|
protected void |
LoginResponseParser.deserializeBytes12to15(int line)
Parse the bytes
12 till 15 in the Basic Header
Segment. |
protected void |
LoginRequestParser.deserializeBytes12to15(int line)
Parse the bytes
12 till 15 in the Basic Header
Segment. |
protected void |
LoginResponseParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
LoginRequestParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
LoginRequestParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
LoginResponseParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
long |
ISID.serialize()
Serializes this ISID object ot its byte representation.
|
protected int |
LoginRequestParser.serializeBytes8to11()
Serializes the bytes
8 till 11 in the Basic
Header Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LogoutResponseParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
LogoutRequestParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
LogoutResponseParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
LogoutRequestParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
LogoutRequestParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
LogoutResponseParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NOPOutParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
NOPInParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
NOPOutParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
NOPInParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
NOPOutParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
NOPInParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Ready2TransferParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
Ready2TransferParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
Ready2TransferParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
Ready2TransferParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
Ready2TransferParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
Ready2TransferParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RejectParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
RejectParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
RejectParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SCSIResponseParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
SCSICommandParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
SCSIResponseParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
SCSICommandParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
SCSIResponseParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
SCSICommandParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
SCSICommandParser.deserializeBytes32to35(int line)
Parse the bytes
32 till 35 in the Basic Header
Segment. |
protected void |
SCSIResponseParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
SCSICommandParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
protected void |
SCSIResponseParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
SCSICommandParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
SCSIResponseParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
protected void |
SCSICommandParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SNACKRequestParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
SNACKRequestParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
SNACKRequestParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
SNACKRequestParser.deserializeBytes40to43(int line)
Parse the bytes
40 till 43 in the Basic Header
Segment. |
protected void |
SNACKRequestParser.deserializeBytes44to47(int line)
Parse the bytes
44 till 47 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TextResponseParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
TextRequestParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
TextResponseParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
TextRequestParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
TextResponseParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
TextRequestParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TaskManagementFunctionResponseParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
TaskManagementFunctionRequestParser.checkIntegrity()
This method checks, if all parsed fields are valid.
|
protected void |
TaskManagementFunctionResponseParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
TaskManagementFunctionRequestParser.deserializeBytes1to3(int line)
Parse the bytes
1 till 3 in the Basic Header
Segment. |
protected void |
TaskManagementFunctionResponseParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
TaskManagementFunctionRequestParser.deserializeBytes20to23(int line)
Parse the bytes
20 till 23 in the Basic Header
Segment. |
protected void |
TaskManagementFunctionRequestParser.deserializeBytes32to35(int line)
Parse the bytes
32 till 35 in the Basic Header
Segment. |
protected void |
TaskManagementFunctionRequestParser.deserializeBytes36to39(int line)
Parse the bytes
36 till 39 in the Basic Header
Segment. |
| Modifier and Type | Method and Description |
|---|---|
static void |
Utils.isExpected(int field,
int expected)
Checks for equality of a given value with the expected value.
|
static void |
Utils.isReserved(long field)
Method to guarantee that a given field is not zero.
|
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.