diva.pod
Interface Receiver

All Superinterfaces:
PropertyContainer

public interface Receiver
extends PropertyContainer

A Receiver is an object used by a Pod to receive data from some data source -- such as a data generator, or another Pod. Implementations of this interface will provide a means by which a Channel can be connected, and by which a Transmitter and Receiver can establish contact.

Receivers can have string-named properties attached to them. These properties are defined to have meaning only within a given protocol, and can be used by clients to control receivers.

Version:
$Revision: 1.2 $
Author:
John Reekie

Method Summary
 Channel getChannel()
          Get the channel to which this receiver is attached, or null if it isn't attached to anything.
 Protocol getProtocol()
          Get the protocol that this receiver implements.
 
Methods inherited from interface diva.util.PropertyContainer
getProperty, propertyNames, setProperty
 

Method Detail

getProtocol

Protocol getProtocol()
Get the protocol that this receiver implements.


getChannel

Channel getChannel()
Get the channel to which this receiver is attached, or null if it isn't attached to anything.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.