edu.utah.janosvm.kit.comm.amiga
Class FaxPort
java.lang.Object
|
+--edu.utah.janosvm.sys.ListNode
|
+--edu.utah.janosvm.sys.Importable
|
+--edu.utah.janosvm.kit.comm.amiga.FaxPortHandle
|
+--edu.utah.janosvm.kit.comm.amiga.FaxPort
- All Implemented Interfaces:
- java.lang.Cloneable
- public class FaxPort
- extends FaxPortHandle
Local handle on a FaxPortBackEnd port.
Fields inherited from class edu.utah.janosvm.kit.comm.amiga.FaxPortHandle |
be |
Fields inherited from class edu.utah.janosvm.sys.Importable |
em |
Constructor Summary |
FaxPort(java.lang.Object id,
SignalSet ss)
Construct a FaxPort and a FaxPortBackEnd with the given values. |
FaxPort(java.lang.Object id,
SignalSet ss,
int sn)
Construct a FaxPort and a FaxPortBackEnd with the given values. |
FaxPort(SignalSet ss)
Construct a FaxPort and a FaxPortBackEnd with the given values. |
FaxPort(SignalSet ss,
int sn)
Construct a FaxPort and a FaxPortBackEnd with the given values. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
FaxPort
public FaxPort(java.lang.Object id,
SignalSet ss,
int sn)
throws DuplicateExportException
- Construct a FaxPort and a FaxPortBackEnd with the given values.
- Parameters:
id
- The identifier to export the FaxPortBackEnd under.ss
- The SignalSet that the FaxPortBackEnd should signal when it
receives a fax.sn
- The SignalNumber that the FaxPortBackEnd should signal when
it receives a fax.- Throws:
DuplicateExportException
- if there is already an
export with the given identifier.
FaxPort
public FaxPort(java.lang.Object id,
SignalSet ss)
throws DuplicateExportException
- Construct a FaxPort and a FaxPortBackEnd with the given values.
- Parameters:
id
- The identifier to export the FaxPortBackEnd under.ss
- The SignalSet that the FaxPortBackEnd should signal when it
receives a fax.- Throws:
DuplicateExportException
- if there is already an
export with the given identifier.
FaxPort
public FaxPort(SignalSet ss,
int sn)
- Construct a FaxPort and a FaxPortBackEnd with the given values.
- Parameters:
ss
- The SignalSet that the FaxPortBackEnd should signal when it
receives a fax.sn
- The SignalNumber that the FaxPortBackEnd should signal when
it receives a fax.
FaxPort
public FaxPort(SignalSet ss)
- Construct a FaxPort and a FaxPortBackEnd with the given values.
- Parameters:
ss
- The SignalSet that the FaxPortBackEnd should signal when it
receives a fax.
getSignalNumber
public int getSignalNumber()
- Returns:
- The signal number that will get signalled when a fax is
received.
getFacsimile
public Facsimile getFacsimile()
- Returns:
- The Facsimile at the head of the queue or null if the queue
is empty.
close
public void close()
- Close this fax port and revoke any references to it.
toString
public java.lang.String toString()
- Overrides:
toString
in class FaxPortHandle
This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003