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
-
ComPointMailControl()
- Constructor without args
-
ComPointMailControl(int, int, int, ComPointAddress)
- Creats a ComPointmailControl.
-
getConnection()
- Returns the connection.
-
getKey()
- Returns the key.
-
getPort()
- Returns the port.
-
getReturnAddr()
- Returns the return address.
-
getType()
- Returns the type.
-
myStreamSize()
- Implementing the Streamable interface
-
readObject(StreamInputInterface)
- Implementing the Streamable interface
-
writeObject(StreamOutputInterface)
- Implementing the Streamable interface
ComPointMailControl
public ComPointMailControl()
- Constructor without args
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
getPort
public int getPort()
- Returns the port.
getConnection
public int getConnection()
- Returns the connection.
getKey
public ComPointMailKey getKey()
- Returns the key.
getType
public int getType()
- Returns the type.
getReturnAddr
public ComPointAddress getReturnAddr()
- Returns the return address.
writeObject
public void writeObject(StreamOutputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
readObject
public void readObject(StreamInputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
myStreamSize
public int myStreamSize() throws StreamIOException
- Implementing the Streamable interface
All Packages Class Hierarchy This Package Previous Next Index