Class semper.certificate.Client
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.certificate.Client

java.lang.Object
   |
   +----semper.certificate.Client

public class Client
extends Object
implements Streamable, CertificateConstants

Variable Index

 o comPoint
 o name

Constructor Index

 o Client()
Create a client without any conf.
 o Client(String, ComPoint)
Create a client.

Method Index

 o myStreamSize()
Finds the expected number of bytes needed to externalize the object to s.
 o readObject(StreamInputInterface)
Reads the object from an io stream (TargetStream).
 o writeObject(StreamOutputInterface)
Writes the object to an io stream (TargetStream).

Variables

 o name
  public String name
 o comPoint
  public ComPoint comPoint

Constructors

 o Client
  public Client(String _name,
                ComPoint _comPoint)
Create a client.
Parameters:
_name: - Users distinguished Name.
_comPoint: - comPoint this Client is connected to.
 o Client
  public Client()
Create a client without any conf. info.

Methods

 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Writes the object to an io stream (TargetStream).
Parameters:
s - is the stream the object is written to
Returns:
void
Throws: StreamIOException
if write failed.
See Also:
readObject
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Reads the object from an io stream (TargetStream).
Parameters:
s - is the stream the object is read from
Returns:
void
Throws: StreamIOException
if read failed.
See Also:
writeObject
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Finds the expected number of bytes needed to externalize the object to s.
Parameters:
s - is the stream the key information is written to
Returns:
number of bytes required
Throws: StreamIOException
if TargetStream throwed an exception.
See Also:
writeObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index