Class semper.comm.ComPointMailControl
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.comm.ComPointMailControl

java.lang.Object
   |
   +----semper.comm.ComPointMailControl

public class ComPointMailControl
extends Object
implements Streamable
Defines a class for the ComPointMail control messages.
Version:
beta-4, 12.8.96
Author:
Mehdi Nassehi

Constructor Index

 o ComPointMailControl()
Constructor without args
 o ComPointMailControl(int, int, int, ComPointAddress)
Creats a ComPointmailControl.

Method Index

 o getConnection()
Returns the connection.
 o getKey()
Returns the key.
 o getPort()
Returns the port.
 o getReturnAddr()
Returns the return address.
 o getType()
Returns the type.
 o myStreamSize()
Implementing the Streamable interface
 o readObject(StreamInputInterface)
Implementing the Streamable interface
 o writeObject(StreamOutputInterface)
Implementing the Streamable interface

Constructors

 o ComPointMailControl
  public ComPointMailControl()
Constructor without args
 o ComPointMailControl
  public ComPointMailControl(int port,
                             int connection,
                             int type,
                             ComPointAddress returnAddr)
Creats a ComPointmailControl.
Parameters:
port - server port through which the connection was opened.
connection - connection number
type - type of the ComPoint sending the control
returnAddr - return address

Methods

 o getPort
  public int getPort()
Returns the port.
 o getConnection
  public int getConnection()
Returns the connection.
 o getKey
  public ComPointMailKey getKey()
Returns the key.
 o getType
  public int getType()
Returns the type.
 o getReturnAddr
  public ComPointAddress getReturnAddr()
Returns the return address.
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Implementing the Streamable interface

All Packages  Class Hierarchy  This Package  Previous  Next  Index