Bees v0.5.0 API

bees.core.kernel
Class PortPair

java.lang.Object
  |
  +--bees.core.kernel.PortPair

public final class PortPair
extends java.lang.Object

A simple object to hold a pair of FaxPort's.


Constructor Summary
PortPair()
          Construct an empty port pair.
PortPair(edu.utah.janosvm.kit.comm.amiga.FaxPort local, edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote)
          Construct a PortPair with the given values.
 
Method Summary
 edu.utah.janosvm.kit.comm.amiga.FaxPort getLocal()
           
 edu.utah.janosvm.kit.comm.amiga.FaxPortHandle getRemote()
           
 void setLocal(edu.utah.janosvm.kit.comm.amiga.FaxPort port)
           
 void setRemote(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle port)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortPair

public PortPair(edu.utah.janosvm.kit.comm.amiga.FaxPort local,
                edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote)
Construct a PortPair with the given values.
Parameters:
local - The local FaxPort.
remote - The remote FaxPortHandle.

PortPair

public PortPair()
Construct an empty port pair.
Method Detail

setLocal

public void setLocal(edu.utah.janosvm.kit.comm.amiga.FaxPort port)
Parameters:
port - The local FaxPort.

getLocal

public edu.utah.janosvm.kit.comm.amiga.FaxPort getLocal()
Returns:
The FaxPort local to this process/team/bdomain/whatever...

setRemote

public void setRemote(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle port)
Parameters:
port - The remote FaxPortHandle.

getRemote

public edu.utah.janosvm.kit.comm.amiga.FaxPortHandle getRemote()
Returns:
The FaxPortHandle for the remote process/team/bdomain/whatever...

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/