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 $
-
getMyCertificateContext()
-
-
getPeerCertificateContext()
-
-
getSecAttributesFromMeToPeer()
- Gets the security attributes that are applied
to data that is sent from us to the peer.
-
getSecAttributesFromPeerToMe()
- Gets the security attributes that are applied
to data that is sent from the peer to us.
-
openInitiatorChannel(String)
- To open an initiator channel
-
secComPoint(int, SecComPointAddress)
- Static method of the service module to create
a SecComPoint.
-
servicePointThread(SecComPointAddress, long)
- To start a service point thread that listens for incoming
connections.
-
setSecAttributesFromMeToPeer(AttributeSet)
- Sets the security attributes that are applied
to data that is sent from us to the peer.
-
setSecAttributesFromPeerToMe(AttributeSet)
- Sets the security attributes that are applied
to data that is sent from the peer to us.
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.
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.
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.
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.
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.
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.
getMyCertificateContext
public abstract CertificateContext getMyCertificateContext()
- Returns:
- My own certificates that are used in the
connection. Might be null if there is no connection.
getPeerCertificateContext
public abstract CertificateContext getPeerCertificateContext()
- Returns:
- The peers certificates that are used in the
connection. Might be null if there is no conection.
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