All Packages Class Hierarchy This Package Previous Next Index
Class semper.seccomm.basic.BasicServicePointThread
java.lang.Object
|
+----semper.seccomm.basic.BasicServicePointThread
- public class BasicServicePointThread
- extends Object
- implements SecChannelServicePointThread
-
BasicServicePointThread(BasicServicesAddress, long)
-
Constructor
-
openResponderChannel(String)
- Open a channel as a responder
-
openResponderChannel(String, AttributeSet)
- Open a channel as a responder
-
openResponderChannel(String, AttributeSet, long)
- Open a channel as a responder
-
openResponderChannel(String, long)
- Open a channel as a responder
-
setSituationDescription(SituationDescription)
- Sets the situation description to be used on subsequent openResponder calls.
-
stop()
- Stop the ServicePointThread
BasicServicePointThread
public BasicServicePointThread(BasicServicesAddress secAddress,
long timeOut) throws SecComPointException
- Constructor
- Parameters:
- secAddress - The address to listen to.
- timeOut - The time in millisecs after that not responded incoming
initiator requests are discarded.
- Throws: SecComPointException
- When starting the comm block servicePointThread fails.
openResponderChannel
public SecComPoint openResponderChannel(String correlator,
AttributeSet secAttributes,
long timeOut) throws SecComPointException, SecChannelTimeOutException
- Open a channel as a responder
- Parameters:
- correlator - An identifier that is used to mark
the channel.
- secAttributes - To specify additional secAttibrubtes that might be different
from the ones defined in SecChannel.startServicePointThread().
- timeOut - The time in millisecs that we wait for a connection.
- Returns:
- An opened SecComPoint
- Throws: SecComPointException
- When opening the comm block responder channel fails.
- Throws: SecChannelTimeOutException
- When opening a responder was timed out
due to missing initiators.
openResponderChannel
public SecComPoint openResponderChannel(String correlator,
AttributeSet secAttributes) throws SecComPointException, SecChannelTimeOutException
- Open a channel as a responder
- Parameters:
- correlator - An identifier that is used to mark
the channel.
- secAttributes - To specify additional secAttibrubtes that might be different
from the ones defined in SecChannel.startServicePointThread().
- Returns:
- An opened SecComPoint
- Throws: SecComPointException
- When opening the comm block responder channel fails.
- Throws: SecChannelTimeOutException
- When opening a responder was timed out
due to missing initiators.
openResponderChannel
public SecComPoint openResponderChannel(String correlator) throws SecComPointException, SecChannelTimeOutException
- Open a channel as a responder
- Parameters:
- correlator - An identifier that is used to mark
the channel.
- Returns:
- An opened SecComPoint
- Throws: SecComPointException
- When opening the comm block responder channel fails.
- Throws: SecChannelTimeOutException
- When opening a responder was timed out
due to missing initiators.
openResponderChannel
public SecComPoint openResponderChannel(String correlator,
long timeOut) throws SecComPointException, SecChannelTimeOutException
- Open a channel as a responder
- Parameters:
- correlator - An identifier that is used to mark
the channel.
- timeOut - The time in millisecs that are waited for
an incoming connection.
- Returns:
- An opened SecComPoint
- Throws: SecComPointException
- When opening the comm block responder channel fails.
- Throws: SecChannelTimeOutException
- When opening a responder was timed out
due to missing initiators.
stop
public void stop() throws SecComPointException
- Stop the ServicePointThread
- Throws: SecComPointException
- When trying to stop a non-existing
(uninitialised) servicePointThread.
setSituationDescription
public void setSituationDescription(SituationDescription situationDescription)
- Sets the situation description to be used on subsequent openResponder calls.
All Packages Class Hierarchy This Package Previous Next Index