Bees v0.5.0 API

bees.core
Interface ExternalChannel

All Known Implementing Classes:
ExternalCoroutine, ProtocolPresentation, NodeOSExternalChannel

public interface ExternalChannel

Interface used to denote classes that can send ExternalCapsules.


Method Summary
 void disconnected()
           
 java.lang.Object getLocal()
           
 void recycleCapsule(ExternalCapsule ec)
           
 void sendCapsule(ExternalCapsule ec)
          Send an ExternalCapsule to the other end of this channel.
 void setLocal(java.lang.Object obj)
           
 

Method Detail

setLocal

public void setLocal(java.lang.Object obj)

getLocal

public java.lang.Object getLocal()

sendCapsule

public void sendCapsule(ExternalCapsule ec)
                 throws java.io.IOException
Send an ExternalCapsule to the other end of this channel.
Parameters:
ec - The ExternalCapsule to send.

recycleCapsule

public void recycleCapsule(ExternalCapsule ec)

disconnected

public void disconnected()

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/