All Packages Class Hierarchy This Package Previous Next Index
Class semper.seccomm.SecChannel
java.lang.Object
|
+----semper.seccomm.SecChannel
- public class SecChannel
- extends Object
- implements SecComPointConstants
This class provides the notion of secure channels,
very similar to the channels provided by the communications
block.
- Version:
- $Revision: 1.7 $ $Date: 1998/01/15 12:23:04 $
-
SecChannel()
- "protected" Constructor because
we can not instantiate a SecChannel object.
-
openInitiatorChannel(SecComPointAddress, String)
- open an initiator channel
-
startServicePointThread(SecComPointAddress)
- Opens a ServicePointThread that listens for incoming
connection requests.
-
startServicePointThread(SecComPointAddress, long)
- Opens a ServicePointThread that listens for incoming
connection requests.
SecChannel
protected SecChannel()
- "protected" Constructor because
we can not instantiate a SecChannel object.
Instead we have to use the functions below to
create a SecComPoint that behaves like a channel.
openInitiatorChannel
public static SecComPoint openInitiatorChannel(SecComPointAddress secAddress,
String correlator) throws SecComPointException
- open an initiator channel
- Parameters:
- secAddress - The address to which the channel to open to.
- correlator - An identifier that is used to mark the
channel.
- Throws: SecComPointException
- if encountered an communication
or parameter error.
startServicePointThread
public static SecChannelServicePointThread startServicePointThread(SecComPointAddress secAddress) throws SecComPointException
- Opens a ServicePointThread that listens for incoming
connection requests. This method is located in
the SecChannel for compatibility reasons. It simply
calls the SecComManager who knows better about
the installed modules then we do... .
- Parameters:
- secAddr - The address to which to listen.
- Throws: SecComPointException
- if encountered an communication
or parameter error.
startServicePointThread
public static SecChannelServicePointThread startServicePointThread(SecComPointAddress secAddress,
long timeOut) throws SecComPointException
- Opens a ServicePointThread that listens for incoming
connection requests. This method is located in
the SecChannel for compatibility reasons. It simply
calls the SecComManager who knows better about
the installed modules then we do... .
- Parameters:
- secAddr - The address to which to listen.
- timeOut - The time in millisecs after not responded
incoming initiator connections
should be discarded.
- Throws: SecComPointException
- if encountered an communication
or parameter error.
All Packages Class Hierarchy This Package Previous Next Index