ucar.unidata.collab
Interface Sharable

All Known Subinterfaces:
DisplayControl
All Known Implementing Classes:
AddeImageDataSource, AddePointDataSource, AddeProfilerDataSource, AddeTextDataSource, AddeTextProductDataSource, AerologicalSoundingControl, AnimationTextControl, AnimationWidget, AudioControl, BaseImageControl, CacheDataSource, CappiControl, CDMProfileDataSource, CDMProfilerDataSource, CDMRadarDataSource, CDOGTextPointDataSource, ChartAnnotation, ChartWrapper, ChatLogControl, ColorCrossSectionControl, ColorPlanViewControl, ColorRadarVolumeControl, ColorRhiControl, ComponentGroup, ComponentHolder, ContourCrossSectionControl, ContourPlanViewControl, CrossSectionControl, CrossSectionViewManager, DataSourceImpl, DataTransectControl, DbPointDataSource, DbTrajectoryDataSource, DemDataSource, DescriptorDataSource, DiamondPointDataSource, DisplayComponent, DisplayControlBase, DisplayControlImpl, DisplayControlWrapper, DisplayGroup, DodsGeoGridDataSource, DoradeDataSource, DrawingControl, DrawingDataSource, EOLProfilerDataSource, FieldSelectorWrapper, FilesDataSource, FlowCrossSectionControl, FlowPlanViewControl, FlowTimeHeightControl, Flythrough, Flythrough, FrontDataSource, GeodasDataSource, GeoGridDataSource, GeotiffDataSource, GNOMETextPointDataSource, GridDataSource, GriddedSkewTControl, GriddedSoundingControl, GridDisplayControl, GridTableControl, HistogramWrapper, HodographViewManager, HovmollerControl, HovmollerViewManager, HtmlComponent, IdvComponentGroup, IdvComponentHolder, ImageControl, ImageDataSource, ImageGridDataSource, ImageMovieControl, ImagePlanViewControl, ImageSequenceControl, ImageXmlDataSource, JythonControl, KmlDataSource, Level2ColorCrossSectionControl, Level2RadarDataSource, Level2TimeHeightControl, LineProbeControl, ListDataSource, LocationIndicatorControl, MapDisplayControl, MapViewManager, McIDASImageDataSource, MovieDataSource, MovieDisplayControl, MultiDisplayHolder, NavigatedViewManager, NetcdfMetarDataSource, NetcdfPointDataSource, NetcdfRadarDataSource, NoteControl, NwxTextProductDataSource, ObsDisplayControl, ObsListControl, OmniControl, PlaceFileDataSource, PlanViewControl, PlotWrapper, PointCloudControl, PointCloudDataSource, PointDataSource, ProbeControl, ProfileControl, ProfilerControl, ProfilerMultiStationControl, ProfilerTimeHeightControl, PropertiedThing, RadarCrossSectionControl, RadarDataSource, RadarEditor, RadarEditor.MyRadarSweepControl, RadarGridControl, RadarRhiControl, RadarSweepControl, RadarVWPControl, RangeAndBearingControl, RangeFilter, RaobDataSource, RaobSkewTControl, RaobSoundingControl, ReadoutTable, ScatterPlotChartWrapper, SerializedDataSource, ShapefileControl, ShapeFileDataSource, SharableImpl, SkewTControl, SondeDataSource, SoundingViewManager, StationLocationControl, StationModelControl, StatisticsChartWrapper, TableChartWrapper, TemplateControl, TextDataSource, TextDisplayControl, TextPointDataSource, TextProductControl, TextProductDataSource, ThreeDSurfaceControl, TimeHeightControl, TimeHeightViewManager, TimeSeriesChartWrapper, TimeSeriesControl, TopographyControl, TrackControl, TrackDataSource, TrackSegment, TrackSkewTControl, TrackSoundingControl, TrajectoryFeatureTypeDataSource, TrajectoryFeatureTypeSoundingControl, TransectDrawingControl, TransectViewManager, ValuePlanViewControl, VerticalProfileControl, ViewManager, ViewWrapper, Vis5DDataSource, VisadDataSource, VolumeRenderControl, WaterMLDataSource, WayPoint, WindTimeHeightControl, WMSControl, WmsDataSource, WorldWindControl, YahooLocationControl

public interface Sharable

Version:
$Revision: 1.6 $Date: 2005/09/21 17:13:21 $
Author:
Jeff McWhirter

Method Summary
 Long getReceiveShareTime(Object dataId)
          Get the last time this object rcvd the share
 Object getShareGroup()
          _more_
 boolean getSharing()
          _more_
 String getUniqueId()
          _more_
 void receiveShareData(Sharable from, Object dataId, Object[] data)
          _more_
 void setReceiveShareTime(Object dataId, Long time)
          Record the time when this object rcvd the share
 

Method Detail

getSharing

boolean getSharing()
_more_

Returns:
_more_

setReceiveShareTime

void setReceiveShareTime(Object dataId,
                         Long time)
Record the time when this object rcvd the share

Parameters:
dataId - data id
time - time

getReceiveShareTime

Long getReceiveShareTime(Object dataId)
Get the last time this object rcvd the share

Parameters:
dataId - data id
Returns:
last time or null

receiveShareData

void receiveShareData(Sharable from,
                      Object dataId,
                      Object[] data)
_more_

Parameters:
from -
dataId -
data -

getShareGroup

Object getShareGroup()
_more_

Returns:
_more_

getUniqueId

String getUniqueId()
_more_

Returns:
_more_