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 $

Constructor Index

 o SecChannel()
"protected" Constructor because we can not instantiate a SecChannel object.

Method Index

 o openInitiatorChannel(SecComPointAddress, String)
open an initiator channel
 o startServicePointThread(SecComPointAddress)
Opens a ServicePointThread that listens for incoming connection requests.
 o startServicePointThread(SecComPointAddress, long)
Opens a ServicePointThread that listens for incoming connection requests.

Constructors

 o 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.

Methods

 o 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.
 o 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.
 o 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