All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.seccomm.SecChannelServicePointThread

public interface SecChannelServicePointThread
Defines a channel service point thread.

Version:
$Revision: 1.7 $ $Date: 1998/01/15 12:23:05 $

Method Index

 o openResponderChannel(String)
Open a channel as a responder
 o openResponderChannel(String, AttributeSet)
Open a channel as a responder
 o openResponderChannel(String, AttributeSet, long)
Open a channel as a responder
 o openResponderChannel(String, long)
Open a channel as a responder
 o stop()
Stop the service point thread.

Methods

 o openResponderChannel
 public abstract SecComPoint openResponderChannel(String correlator) throws SecComPointException, SecChannelTimeOutException
Open a channel as a responder

Parameters:
correlator - An identifier that is used to mark the channel.
Throws: SecComPointException
When the repsonder could not be opened.
Throws: SecChannelTimeOutException
When opening a responder was timed out due to missing initiators.
 o openResponderChannel
 public abstract 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.
 o openResponderChannel
 public abstract 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 secAttributes that might be different from the ones defined in SecChannel.startServicePointThread().
Throws: SecComPointException
When the responder could not be opened.
Throws: SecChannelTimeOutException
When opening a responder was timed out due to missing initiators.
 o openResponderChannel
 public abstract 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 to wait for an incoming connection.
Throws: SecComPointException
When the responder could not be opened.
Throws: SecChannelTimeOutException
When opening a responder was timed out due to missing initiators.
 o stop
 public abstract void stop() throws SecComPointException
Stop the service point thread.

Throws: SecComPointException
When stopping is not possible.

All Packages  Class Hierarchy  This Package  Previous  Next  Index