- call() - Method in interface org.jscsi.initiator.connection.ITask
-
This method is call, when this ITask
instance is polled from the head of the taskQueue
to start a task.
- capacityInformations - Variable in class org.jscsi.initiator.connection.Session
-
This instance contains the informations about the capacity of the connected target.
- CapacityRequestState - Class in org.jscsi.initiator.connection.state
-
CapacityRequestState
- CapacityRequestState(Connection, TargetCapacityInformations, SCSICommandParser.TaskAttributes) - Constructor for class org.jscsi.initiator.connection.state.CapacityRequestState
-
Constructor to create a new, empty CapacityRequestState
instance.
- CapacityResponseState - Class in org.jscsi.initiator.connection.state
-
CapacityResponseState
- CapacityResponseState(Connection, TargetCapacityInformations) - Constructor for class org.jscsi.initiator.connection.state.CapacityResponseState
-
Constructor to create a new, empty CapacityResponseState
instance.
- close() - Method in class org.jscsi.initiator.connection.Connection
-
This method does all the necessary steps, which are needed when a connection should be closed.
- close() - Method in class org.jscsi.initiator.connection.SenderWorker
-
This method does all the necessary steps, which are needed when a connection should be closed.
- close() - Method in class org.jscsi.initiator.connection.Session
-
Closes this session instances with all opened connections.
- closedSession(Session) - Method in class org.jscsi.initiator.LinkFactory
-
Adds a dying Session
instance to the Queue.
- closeSession(String) - Method in class org.jscsi.initiator.Initiator
-
Closes all opened connections within this session to the given target.
- commandSequenceNumber - Variable in class org.jscsi.initiator.connection.Session
-
The Command Sequence Number of this session.
- Configuration - Class in org.jscsi.initiator
-
Configuration
- Configuration() - Constructor for class org.jscsi.initiator.Configuration
-
Constructor to create a new, empty Configuration
object.
- Configuration(Hashtable<OperationalTextKey, SettingEntry>, ConcurrentHashMap<String, Configuration.SessionConfiguration>) - Constructor for class org.jscsi.initiator.Configuration
-
Constructor to create a Configuration
object with existing data
- configuration - Variable in class org.jscsi.initiator.connection.Session
-
The Configuration
instance for this session.
- Connection - Class in org.jscsi.initiator.connection
-
AbsConnection
- Connection(Session, Configuration, InetSocketAddress, short) - Constructor for class org.jscsi.initiator.connection.Connection
-
Method to create and return a new, empty Connection
object with the configured layer of threading.
- connections - Variable in class org.jscsi.initiator.connection.Session
-
A List object with all open connections.
- create() - Static method in class org.jscsi.initiator.Configuration
-
Creates a instance of a Configuration
object, which is initialized with the settings from the
system-wide configuration file.
- create(File, File) - Static method in class org.jscsi.initiator.Configuration
-
Creates a instance of a Configuration
object, which is initialized with the settings from the
system-wide configuration file.
- createSession(String) - Method in class org.jscsi.initiator.Initiator
-
Creates a new session with the given target name, which is read from the configuration file.
- createSession(InetSocketAddress, String) - Method in class org.jscsi.initiator.Initiator
-
Creates a new session to a target with the given Internet address and port.
- execute() - Method in class org.jscsi.initiator.connection.state.CapacityRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.CapacityResponseState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.GetConnectionsRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in interface org.jscsi.initiator.connection.state.IState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.LoginRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.LoginResponseState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.LogoutRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.LogoutResponseState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.ReadRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.ReadResponseState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.SNACKRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.WriteFirstBurstState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.WriteRequestState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.WriteSecondBurstState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- execute() - Method in class org.jscsi.initiator.connection.state.WriteSecondResponseState
-
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
- getBlockSize() - Method in class org.jscsi.initiator.connection.Session
-
Returns the used block size of the connected iSCSI Target.
- getBlockSize() - Method in class org.jscsi.initiator.connection.TargetCapacityInformations
-
Returns the block size (in bytes).
- getBlockSize(String) - Method in class org.jscsi.initiator.Initiator
-
Returns the used block size (in bytes) of the iSCSI Target.
- getCapacity(Session, TargetCapacityInformations) - Method in class org.jscsi.initiator.connection.phase.FullFeaturePhase
-
This method handles the TargetCapacityInformations
within this session (if possible in the current
phase).
- getCapacity(Session, TargetCapacityInformations) - Method in interface org.jscsi.initiator.connection.phase.IPhase
-
This method handles the TargetCapacityInformations
within this session (if possible in the current
phase).
- getCapacity() - Method in class org.jscsi.initiator.connection.Session
-
Returns the capacity (in blocks) of the connected iSCSI Target.
- getCapacity(String) - Method in class org.jscsi.initiator.Initiator
-
Returns the capacity (in blocks) of the iSCSI Target.
- getCommandSequenceNumber() - Method in class org.jscsi.initiator.connection.Session
-
Returns the Command Sequence Number of this session.
- getConnection(Session, Configuration, InetSocketAddress, short) - Method in class org.jscsi.initiator.LinkFactory
-
Method to create and return a new, empty Connection
object with the configured layer of threading.
- getConnection() - Method in class org.jscsi.initiator.taskbalancer.AbstractTaskBalancer
-
- getConnection() - Method in interface org.jscsi.initiator.taskbalancer.ITaskBalancer
-
Deprecated.
Returns the next connection, which should used for the next task.
- getConnection() - Method in class org.jscsi.initiator.taskbalancer.SimpleTaskBalancer
- getConnectionID() - Method in class org.jscsi.initiator.connection.Connection
-
Returns the ID of this Connection
object.
- GetConnectionsRequestState - Class in org.jscsi.initiator.connection.state
-
GetConnectionsRequestState
- GetConnectionsRequestState(Connection) - Constructor for class org.jscsi.initiator.connection.state.GetConnectionsRequestState
-
Constructor to create a GetConnectionsRequestState
instance, which uses the given connection for
transmission.
- getExpectedStatusSequenceNumber() - Method in class org.jscsi.initiator.connection.Connection
-
Returns the Expected Status Sequence Number of this Connection
object.
- getInitiatorTaskTag() - Method in class org.jscsi.initiator.connection.Session
-
Returns the Initiator Task Tag of this session.
- getMaximumCommandSequenceNumber() - Method in class org.jscsi.initiator.connection.Session
-
Returns the Maximum Command Sequence Number of this session.
- getNextFreeConnection() - Method in class org.jscsi.initiator.connection.Session
-
Returns the next free Connection
object of this Session
object.
- getPhase() - Method in class org.jscsi.initiator.connection.Session
-
Returns the current LoginStage
object.
- getSession() - Method in class org.jscsi.initiator.connection.Connection
-
Returns the session, which contains this connection instance.
- getSession(Configuration, String, InetSocketAddress) - Method in class org.jscsi.initiator.LinkFactory
-
Method to create and return a new, empty Session
object with the configured layer of threading.
- getSessionSetting(String, OperationalTextKey) - Method in class org.jscsi.initiator.Configuration
-
Returns the value of a single parameter.
- getSetting(String, int, OperationalTextKey) - Method in class org.jscsi.initiator.Configuration
-
Returns the value of a single parameter, instead of all values.
- getSetting(OperationalTextKey) - Method in class org.jscsi.initiator.connection.Connection
-
Returns the value of the given parameter as String
.
- getSettingAsBoolean(OperationalTextKey) - Method in class org.jscsi.initiator.connection.Connection
-
Returns the value of the given parameter, which is parsed to an boolean
.
- getSettingAsInt(OperationalTextKey) - Method in class org.jscsi.initiator.connection.Connection
-
Returns the value of the given parameter, which is parsed to an integer
.
- getSettings(String, int) - Method in class org.jscsi.initiator.Configuration
-
Unifies all parameters (in the right precedence) and returns one SettingsMap
.
- getSettings() - Method in class org.jscsi.initiator.connection.Connection
-
Returns the settings of the given session and connection.
- getSize() - Method in class org.jscsi.initiator.connection.TargetCapacityInformations
-
Returns the number of blocks of the connected target.
- getStage() - Method in class org.jscsi.initiator.connection.phase.FullFeaturePhase
-
Returns the current stage.
- getStage() - Method in interface org.jscsi.initiator.connection.phase.IPhase
-
Returns the current stage.
- getStage() - Method in class org.jscsi.initiator.connection.phase.LoginOperationalNegotiationPhase
-
Returns the current stage.
- getStage() - Method in class org.jscsi.initiator.connection.phase.SecurityNegotiationPhase
-
Returns the current stage.
- getState() - Method in class org.jscsi.initiator.connection.Connection
-
Returns the current state of this connection.
- getTargetAddress(String) - Method in class org.jscsi.initiator.Configuration
-
Returns the InetAddress
instance of the connected iSCSI Target.
- getTargetName() - Method in class org.jscsi.initiator.connection.Session
-
Returns the name of the iSCSI Target of this session.
- getTargetSessionIdentifyingHandle() - Method in class org.jscsi.initiator.connection.Session
-
Returns the Target Session Identifying Handle (TSID) of this Session
object.
- LinkFactory - Class in org.jscsi.initiator
-
LinkFactory
- LinkFactory(Initiator) - Constructor for class org.jscsi.initiator.LinkFactory
-
Default Constructor to create a Linkfactory.
- login(Session) - Method in class org.jscsi.initiator.connection.phase.FullFeaturePhase
-
This method handles the login of a connection (if possible).
- login(Session) - Method in interface org.jscsi.initiator.connection.phase.IPhase
-
This method handles the login of a connection (if possible).
- login(Session) - Method in class org.jscsi.initiator.connection.phase.SecurityNegotiationPhase
-
This method handles the login of a connection (if possible).
- login() - Method in class org.jscsi.initiator.connection.Session
-
This method invokes the same called method of the current IPhase
instance.
- LoginOperationalNegotiationPhase - Class in org.jscsi.initiator.connection.phase
-
LoginOperationalNegotiationPhase
- LoginOperationalNegotiationPhase() - Constructor for class org.jscsi.initiator.connection.phase.LoginOperationalNegotiationPhase
-
- LoginRequestState - Class in org.jscsi.initiator.connection.state
-
LoginRequestState
- LoginRequestState(Connection, LoginStage) - Constructor for class org.jscsi.initiator.connection.state.LoginRequestState
-
Constructor to create a LoginRequestState
instance, which uses the given connection for
transmission.
- LoginResponseState - Class in org.jscsi.initiator.connection.state
-
LoginResponseState
- LoginResponseState(Connection, LoginStage) - Constructor for class org.jscsi.initiator.connection.state.LoginResponseState
-
Constructor to create a LoginResponseState
instance, which uses the given connection for
transmission.
- logout() - Method in class org.jscsi.initiator.connection.Session
-
This method invokes the same called method of the current IPhase
instance.
- logoutConnection(Session, short) - Method in interface org.jscsi.initiator.connection.phase.IPhase
-
This method handles the logout of a connection (if possible) (if possible in the current phase).
- LogoutRequestState - Class in org.jscsi.initiator.connection.state
-
LogoutRequestState
- LogoutRequestState(Connection, LogoutRequestParser.LogoutReasonCode) - Constructor for class org.jscsi.initiator.connection.state.LogoutRequestState
-
Constructor to create a LogoutRequestState
instance, which uses the given connection for
transmission.
- LogoutResponseState - Class in org.jscsi.initiator.connection.state
-
LogoutResponseState
- LogoutResponseState(Connection) - Constructor for class org.jscsi.initiator.connection.state.LogoutResponseState
-
Constructor to create a LogoutResponseState
instance, which uses the given connection for
transmission.
- logoutSession(ITask, Session) - Method in class org.jscsi.initiator.connection.phase.FullFeaturePhase
-
This method handles the logout of the whole session (with all its connections) (if possible in the current
phase).
- logoutSession(ITask, Session) - Method in interface org.jscsi.initiator.connection.phase.IPhase
-
This method handles the logout of the whole session (with all its connections) (if possible in the current
phase).
- read(ITask, Session, ByteBuffer, int, long) - Method in class org.jscsi.initiator.connection.phase.FullFeaturePhase
-
This method handles a read operation within this session (if possible in the current phase).
- read(ITask, Session, ByteBuffer, int, long) - Method in interface org.jscsi.initiator.connection.phase.IPhase
-
This method handles a read operation within this session (if possible in the current phase).
- read(ByteBuffer, int, long) - Method in class org.jscsi.initiator.connection.Session
-
This method invokes the same called method of the current IPhase
instance.
- read(String, ByteBuffer, int, long) - Method in class org.jscsi.initiator.Initiator
-
Invokes a read operation for the session targetName
and store the read bytes in the buffer
dst
.
- ReadRequestState - Class in org.jscsi.initiator.connection.state
-
ReadRequestState
- ReadRequestState(Connection, ByteBuffer, SCSICommandParser.TaskAttributes, int, int, short) - Constructor for class org.jscsi.initiator.connection.state.ReadRequestState
-
Constructor to create a ReadRequestState
instance, which creates a request to the iSCSI Target.
- ReadResponseState - Class in org.jscsi.initiator.connection.state
-
ReadResponseState
- ReadResponseState(Connection, ByteBuffer, int, int) - Constructor for class org.jscsi.initiator.connection.state.ReadResponseState
-
Constructor to create a new, empty ReadResponseState
.
- receive() - Method in class org.jscsi.initiator.connection.Connection
-
Reads one ProtocolDataUnit
instance from the receivingQueue
.
- receiveFromWire() - Method in class org.jscsi.initiator.connection.SenderWorker
-
Receives a ProtocolDataUnit
from the socket and appends it to the end of the receiving queue of this
connection.
- releaseConnection(Connection) - Method in class org.jscsi.initiator.taskbalancer.AbstractTaskBalancer
-
- releaseConnection(Connection) - Method in interface org.jscsi.initiator.taskbalancer.ITaskBalancer
-
Deprecated.
Releases a used connection, so that it can be used by another task.
- releaseUsedConnection(Connection) - Method in class org.jscsi.initiator.connection.Session
-
Adds a Task to the outstandingTasks Hashmap.
- removeSession(Session) - Method in class org.jscsi.initiator.Initiator
-
Removes the Session
instances form the sessions queue.
- restartTask(ITask) - Method in class org.jscsi.initiator.connection.Session
-
restarts a Task from outstandingTasks.
- SecurityNegotiationPhase - Class in org.jscsi.initiator.connection.phase
-
SecurityNegotiationPhase
- SecurityNegotiationPhase() - Constructor for class org.jscsi.initiator.connection.phase.SecurityNegotiationPhase
-
- send(ProtocolDataUnit) - Method in class org.jscsi.initiator.connection.Connection
-
Enqueue this protocol data unit to the end of the sending queue.
- send(Queue<ProtocolDataUnit>) - Method in class org.jscsi.initiator.connection.Connection
-
Enqueue all protocol data units to the end of the sending queue.
- SenderWorker - Class in org.jscsi.initiator.connection
-
SenderWorker
- SenderWorker(Connection, InetSocketAddress) - Constructor for class org.jscsi.initiator.connection.SenderWorker
-
Creates a new, empty SenderWorker
instance.
- sendOverWire(ProtocolDataUnit) - Method in class org.jscsi.initiator.connection.SenderWorker
-
Sends the given ProtocolDataUnit
instance over the socket to the connected iSCSI Target.
- Session - Class in org.jscsi.initiator.connection
-
Session
- Session(LinkFactory, Configuration, String, InetSocketAddress, ExecutorService) - Constructor for class org.jscsi.initiator.connection.Session
-
Constructor to create a new, empty AbsSession
object with a maximum number of allowed connections to
a given iSCSI Target.
- session - Variable in class org.jscsi.initiator.taskbalancer.AbstractTaskBalancer
-
The Session.
- setExpectedStatusSequenceNumber(int) - Method in class org.jscsi.initiator.connection.Connection
-
Sets the expected Status Sequence Number to the given one from the leading Login Response.
- setMaximumCommandSequenceNumber(int) - Method in class org.jscsi.initiator.connection.Session
-
Sets the Maximum Command Sequence Number to a new value.
- setPhase(IPhase) - Method in class org.jscsi.initiator.connection.Session
-
This method sets the current IPhase
instance to the given value.
- setTargetSessionIdentifyingHandle(short) - Method in class org.jscsi.initiator.connection.Session
-
Sets the Target Session Identifying Handle (TSIH) to the given value.
- SimpleLoginLogout - Class in org.jscsi.initiator.example
-
Example 1, Just creating and closing a session.
- SimpleLoginLogout() - Constructor for class org.jscsi.initiator.example.SimpleLoginLogout
-
- SimpleTaskBalancer - Class in org.jscsi.initiator.taskbalancer
-
SimpleLoadBalancer
- SimpleTaskBalancer(LinkedBlockingQueue<Connection>) - Constructor for class org.jscsi.initiator.taskbalancer.SimpleTaskBalancer
-
Constructor to create a SimpleLoadBalancer
instance.
- SingleThreadedReadWrite - Class in org.jscsi.initiator.example
-
Example 2, Reading and Writing data single-threaded to one target.
- SingleThreadedReadWrite() - Constructor for class org.jscsi.initiator.example.SingleThreadedReadWrite
-
- SNACKRequestState - Class in org.jscsi.initiator.connection.state
-
SNACKRequestState
- SNACKRequestState(Connection, IState, int) - Constructor for class org.jscsi.initiator.connection.state.SNACKRequestState
-
Constructor to create a new, empty SNACKRequestState
.