Package | Description |
---|---|
org.jscsi.initiator |
This package contains all the core classes to provide an easy and usable iSCSI (RFC 3720) initiator.
|
org.jscsi.initiator.connection |
This package contains all the states of a connection and all phases of the iSCSI (RFC 3720) implementation.
|
org.jscsi.initiator.connection.phase |
This package contains all the phases of a session related to the iSCSI (RFC 3720) implementation.
|
org.jscsi.initiator.taskbalancer |
This package contains all the load balancing algorithms to distribute tasks over all opened connections in a session
of the iSCSI (RFC 3720) implementation.
|
Modifier and Type | Method and Description |
---|---|
Session |
LinkFactory.getSession(Configuration initConfiguration,
String initTargetName,
InetSocketAddress inetAddress)
Method to create and return a new, empty
Session object with the configured layer of threading. |
Modifier and Type | Method and Description |
---|---|
void |
LinkFactory.closedSession(Session session)
Adds a dying
Session instance to the Queue. |
Connection |
LinkFactory.getConnection(Session session,
Configuration initConfiguration,
InetSocketAddress inetAddress,
short initConnectionID)
Method to create and return a new, empty
Connection object with the configured layer of threading. |
void |
Initiator.removeSession(Session sessionReq)
Removes the
Session instances form the sessions queue. |
Modifier and Type | Method and Description |
---|---|
Session |
Connection.getSession()
Returns the session, which contains this connection instance.
|
Constructor and Description |
---|
Connection(Session session,
Configuration initConfiguration,
InetSocketAddress inetAddress,
short initConnectionID)
Method to create and return a new, empty
Connection object with the configured layer of threading. |
Modifier and Type | Method and Description |
---|---|
boolean |
IPhase.getCapacity(Session session,
TargetCapacityInformations capacityInformation)
This method handles the
TargetCapacityInformations within this session (if possible in the current
phase). |
boolean |
FullFeaturePhase.getCapacity(Session session,
TargetCapacityInformations capacityInformation)
This method handles the
TargetCapacityInformations within this session (if possible in the current
phase). |
boolean |
SecurityNegotiationPhase.login(Session session)
This method handles the login of a connection (if possible).
|
boolean |
IPhase.login(Session session)
This method handles the login of a connection (if possible).
|
boolean |
FullFeaturePhase.login(Session session)
This method handles the login of a connection (if possible).
|
boolean |
IPhase.logoutConnection(Session session,
short connectionID)
This method handles the logout of a connection (if possible) (if possible in the current phase).
|
boolean |
IPhase.logoutSession(ITask task,
Session session)
This method handles the logout of the whole session (with all its connections) (if possible in the current
phase).
|
boolean |
FullFeaturePhase.logoutSession(ITask task,
Session session)
This method handles the logout of the whole session (with all its connections) (if possible in the current
phase).
|
boolean |
IPhase.read(ITask task,
Session session,
ByteBuffer dst,
int logicalBlockAddress,
long length)
This method handles a read operation within this session (if possible in the current phase).
|
boolean |
FullFeaturePhase.read(ITask task,
Session session,
ByteBuffer dst,
int logicalBlockAddress,
long length)
This method handles a read operation within this session (if possible in the current phase).
|
boolean |
IPhase.write(ITask task,
Session session,
ByteBuffer src,
int logicalBlockAddress,
long length)
This method handles a write operation within this session (if possible in the current phase).
|
boolean |
FullFeaturePhase.write(ITask task,
Session session,
ByteBuffer src,
int logicalBlockAddress,
long length)
This method handles a write operation within this session (if possible in the current phase).
|
Modifier and Type | Field and Description |
---|---|
protected Session |
AbstractTaskBalancer.session
The Session.
|
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.