All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.seccomm.SecComPoint

public interface SecComPoint
extends SecComPointConstants, ComPoint
Defines an interface for ComPoints with security attributes. Must be implemented by service modules.

Version:
$Revision: 1.10 $ $Date: 1998/06/08 13:25:15 $

Method Index

 o getMyCertificateContext()
 o getPeerCertificateContext()
 o getSecAttributesFromMeToPeer()
Gets the security attributes that are applied to data that is sent from us to the peer.
 o getSecAttributesFromPeerToMe()
Gets the security attributes that are applied to data that is sent from the peer to us.
 o openInitiatorChannel(String)
To open an initiator channel
 o secComPoint(int, SecComPointAddress)
Static method of the service module to create a SecComPoint.
 o servicePointThread(SecComPointAddress, long)
To start a service point thread that listens for incoming connections.
 o setSecAttributesFromMeToPeer(AttributeSet)
Sets the security attributes that are applied to data that is sent from us to the peer.
 o setSecAttributesFromPeerToMe(AttributeSet)
Sets the security attributes that are applied to data that is sent from the peer to us.

Methods

 o secComPoint
 public abstract SecComPoint secComPoint(int type,
                                         SecComPointAddress address) throws SecComPointException
Static method of the service module to create a SecComPoint.

Parameters:
type - Which type:
address - The Address to which to open the SecComPoint
Throws: SecComPointException
On error.
 o servicePointThread
 public abstract SecChannelServicePointThread servicePointThread(SecComPointAddress secAddress,
                                                                 long timeOut) throws SecComPointException
To start a service point thread that listens for incoming connections.

Parameters:
secAddress - The local address to listen on.
timeOut - The time that is waited for incoming connection requests to be repsonden by a responder...
Returns:
A SecChannelServicePointThread on which one can do an OpenResponderChannel()
Throws: SecComPointException
On error.
 o getSecAttributesFromPeerToMe
 public abstract AttributeSet getSecAttributesFromPeerToMe()
Gets the security attributes that are applied to data that is sent from the peer to us.

Returns:
A AttributeSet with all set security attributes.
 o setSecAttributesFromPeerToMe
 public abstract void setSecAttributesFromPeerToMe(AttributeSet secAttributes)
Sets the security attributes that are applied to data that is sent from the peer to us.

Parameters:
A - AttributeSet with all security attributes to set.
 o getSecAttributesFromMeToPeer
 public abstract AttributeSet getSecAttributesFromMeToPeer()
Gets the security attributes that are applied to data that is sent from us to the peer.

Returns:
A AttributeSet with all set security attributes.
 o setSecAttributesFromMeToPeer
 public abstract void setSecAttributesFromMeToPeer(AttributeSet secAttributes)
Sets the security attributes that are applied to data that is sent from us to the peer.

Parameters:
A - AttributeSet with all security attributes to be set.
 o getMyCertificateContext
 public abstract CertificateContext getMyCertificateContext()
Returns:
My own certificates that are used in the connection. Might be null if there is no connection.
 o getPeerCertificateContext
 public abstract CertificateContext getPeerCertificateContext()
Returns:
The peers certificates that are used in the connection. Might be null if there is no conection.
 o openInitiatorChannel
 public abstract void openInitiatorChannel(String correlator) throws SecComPointException
To open an initiator channel

Parameters:
correlator: - The channel correlator.
Throws: SecComPointException
On error.

All Packages  Class Hierarchy  This Package  Previous  Next  Index