com.cosylab.epics.caj.impl
Class ChannelSearchManager

java.lang.Object
  extended by com.cosylab.epics.caj.impl.ChannelSearchManager

public class ChannelSearchManager
extends Object

Version:
$id$
Author:
Matej Sekoranja

Constructor Summary
ChannelSearchManager(CAJContext context)
          Constructor.
 
Method Summary
 void beaconAnomalyNotify()
          Beacon anomaly detected.
 void cancel()
          Cancel.
 void registerChannel(CAJChannel channel)
          Register channel.
 int registeredChannelCount()
          Get number of registered channels.
 void searchResponse(CAJChannel channel, int responseSequenceNumber, boolean isSequenceNumberValid, long responseTime)
          Search response received notification.
 void unregisterChannel(CAJChannel channel)
          Unregister channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelSearchManager

public ChannelSearchManager(CAJContext context)
Constructor.

Parameters:
context -
Method Detail

cancel

public void cancel()
Cancel.


registeredChannelCount

public int registeredChannelCount()
Get number of registered channels.

Returns:
number of registered channels.

registerChannel

public void registerChannel(CAJChannel channel)
Register channel.

Parameters:
channel -

unregisterChannel

public void unregisterChannel(CAJChannel channel)
Unregister channel.

Parameters:
channel -

searchResponse

public void searchResponse(CAJChannel channel,
                           int responseSequenceNumber,
                           boolean isSequenceNumberValid,
                           long responseTime)
Search response received notification.

Parameters:
channel - found channel.
responseSequenceNumber - sequence number of search frame which contained search request.
isSequenceNumberValid - valid flag of responseSequenceNumber.
responseTime - time of search response.

beaconAnomalyNotify

public void beaconAnomalyNotify()
Beacon anomaly detected. Boost searching of all channels.



Copyright © 2004-2013 Cosylab. All Rights Reserved.