TANGO Java API
( TangORB-7.3.3.jar)

fr.esrf.TangoApi.Group
Class Group

java.lang.Object
  extended by fr.esrf.TangoApi.Group.Group
All Implemented Interfaces:
java.io.Serializable

public class Group
extends java.lang.Object
implements java.io.Serializable

TANGO group abstraction main class

See Also:
Serialized Form

Constructor Summary
Group(java.lang.String name)
          Creates a new instance of Group
 
Method Summary
 void add(Group g)
          Adds a group to the group
 void add(java.lang.String p)
          Adds devices matching pattern
 void add(java.lang.String[] pl)
          Adds devices matching patterns to the group
 int command_inout_asynch(java.lang.String c, boolean fgt, boolean fwd)
          command_inout_asynch
 int command_inout_asynch(java.lang.String c, DeviceData[] dd, boolean fgt, boolean fwd)
          command_inout_asynch
 int command_inout_asynch(java.lang.String c, DeviceData dd, boolean fgt, boolean fwd)
          command_inout_asynch
 GroupCmdReplyList command_inout_reply(int rid, int tmo)
          command_inout_reply
 GroupCmdReplyList command_inout(java.lang.String c, boolean fwd)
          command_inout
 GroupCmdReplyList command_inout(java.lang.String c, DeviceData[] dd, boolean fwd)
          command_inout
 GroupCmdReplyList command_inout(java.lang.String c, DeviceData dd, boolean fwd)
          command_inout
 boolean contains(java.lang.String n, boolean fwd)
          Returns true if the group contains an element named , false otherwise
 void dump()
          Dump group
 DeviceAttribute[] get_attribute_specific_value_list(boolean fwd)
          get_command_argument_list
 DeviceData[] get_command_specific_argument_list(boolean fwd)
          get_command_argument_list
 java.lang.String[] get_device_list(boolean fwd)
          Returns the group's device list
 DeviceProxy get_device(int i)
          Returns the th device in the hierarchy
 DeviceProxy get_device(java.lang.String n)
          Returns the device named in the hierarchy
 java.lang.String get_fully_qualified_name()
          Returns the group element fully qualified name
 Group get_group(java.lang.String n)
          Returns the first group named in the hierarchy
 java.lang.String get_name()
          Returns the group element name
 int get_size(boolean fwd)
          Returns the group's size
 boolean ping(boolean fwd)
          Ping the group returns true if all device alive, false otherwise
 int read_attribute_asynch(java.lang.String a, boolean fwd)
          read_attribute_asynch
 GroupAttrReplyList read_attribute_reply(int rid, int tmo)
          read_attribute_reply
 GroupAttrReplyList read_attribute(java.lang.String a, boolean fwd)
          read_attribute
 void remove_all()
          Remove all elements from the group
 void remove(java.lang.String[] pl, boolean fwd)
          Remove elements matching patterns from the group
 void remove(java.lang.String p, boolean fwd)
          Remove elements matching pattern
 void set_timeout_millis(int timeout, boolean fwd)
          set_timeout_millis
 int write_attribute_asynch(DeviceAttribute[] da, boolean fwd)
          write_attribute_asynch
 int write_attribute_asynch(DeviceAttribute da, boolean fwd)
          write_attribute_asynch
 GroupReplyList write_attribute_reply(int rid, int tmo)
          write_attribute_reply
 GroupReplyList write_attribute(DeviceAttribute[] da, boolean fwd)
          write_attribute
 GroupReplyList write_attribute(DeviceAttribute da, boolean fwd)
          write_attribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group(java.lang.String name)
Creates a new instance of Group

Method Detail

dump

public void dump()
Dump group


ping

public boolean ping(boolean fwd)
Ping the group returns true if all device alive, false otherwise


get_device_list

public java.lang.String[] get_device_list(boolean fwd)
Returns the group's device list


get_group

public Group get_group(java.lang.String n)
Returns the first group named in the hierarchy


get_device

public DeviceProxy get_device(java.lang.String n)
Returns the device named in the hierarchy


get_device

public DeviceProxy get_device(int i)
Returns the th device in the hierarchy


get_size

public int get_size(boolean fwd)
Returns the group's size


add

public void add(Group g)
Adds a group to the group


add

public void add(java.lang.String p)
         throws DevFailed
Adds devices matching pattern

to the group

Throws:
DevFailed

add

public void add(java.lang.String[] pl)
         throws DevFailed
Adds devices matching patterns to the group

Throws:
DevFailed

remove

public void remove(java.lang.String p,
                   boolean fwd)
Remove elements matching pattern

from the group


remove

public void remove(java.lang.String[] pl,
                   boolean fwd)
Remove elements matching patterns from the group


remove_all

public void remove_all()
Remove all elements from the group


contains

public boolean contains(java.lang.String n,
                        boolean fwd)
Returns true if the group contains an element named , false otherwise


set_timeout_millis

public void set_timeout_millis(int timeout,
                               boolean fwd)
                        throws DevFailed
set_timeout_millis

Throws:
DevFailed

command_inout

public GroupCmdReplyList command_inout(java.lang.String c,
                                       boolean fwd)
                                throws DevFailed
command_inout

Throws:
DevFailed

command_inout

public GroupCmdReplyList command_inout(java.lang.String c,
                                       DeviceData dd,
                                       boolean fwd)
                                throws DevFailed
command_inout

Throws:
DevFailed

get_command_specific_argument_list

public DeviceData[] get_command_specific_argument_list(boolean fwd)
                                                throws DevFailed
get_command_argument_list

Throws:
DevFailed

command_inout

public GroupCmdReplyList command_inout(java.lang.String c,
                                       DeviceData[] dd,
                                       boolean fwd)
                                throws DevFailed
command_inout

Throws:
DevFailed

command_inout_asynch

public int command_inout_asynch(java.lang.String c,
                                boolean fgt,
                                boolean fwd)
                         throws DevFailed
command_inout_asynch

Throws:
DevFailed

command_inout_asynch

public int command_inout_asynch(java.lang.String c,
                                DeviceData dd,
                                boolean fgt,
                                boolean fwd)
                         throws DevFailed
command_inout_asynch

Throws:
DevFailed

command_inout_asynch

public int command_inout_asynch(java.lang.String c,
                                DeviceData[] dd,
                                boolean fgt,
                                boolean fwd)
                         throws DevFailed
command_inout_asynch

Throws:
DevFailed

command_inout_reply

public GroupCmdReplyList command_inout_reply(int rid,
                                             int tmo)
                                      throws DevFailed
command_inout_reply

Throws:
DevFailed

read_attribute

public GroupAttrReplyList read_attribute(java.lang.String a,
                                         boolean fwd)
                                  throws DevFailed
read_attribute

Throws:
DevFailed

read_attribute_asynch

public int read_attribute_asynch(java.lang.String a,
                                 boolean fwd)
                          throws DevFailed
read_attribute_asynch

Throws:
DevFailed

read_attribute_reply

public GroupAttrReplyList read_attribute_reply(int rid,
                                               int tmo)
                                        throws DevFailed
read_attribute_reply

Throws:
DevFailed

write_attribute

public GroupReplyList write_attribute(DeviceAttribute da,
                                      boolean fwd)
                               throws DevFailed
write_attribute

Throws:
DevFailed

get_attribute_specific_value_list

public DeviceAttribute[] get_attribute_specific_value_list(boolean fwd)
get_command_argument_list


write_attribute

public GroupReplyList write_attribute(DeviceAttribute[] da,
                                      boolean fwd)
                               throws DevFailed
write_attribute

Throws:
DevFailed

write_attribute_asynch

public int write_attribute_asynch(DeviceAttribute da,
                                  boolean fwd)
                           throws DevFailed
write_attribute_asynch

Throws:
DevFailed

write_attribute_asynch

public int write_attribute_asynch(DeviceAttribute[] da,
                                  boolean fwd)
                           throws DevFailed
write_attribute_asynch

Throws:
DevFailed

write_attribute_reply

public GroupReplyList write_attribute_reply(int rid,
                                            int tmo)
                                     throws DevFailed
write_attribute_reply

Throws:
DevFailed

get_name

public java.lang.String get_name()
Returns the group element name


get_fully_qualified_name

public java.lang.String get_fully_qualified_name()
Returns the group element fully qualified name


TANGO Java API
( TangORB-7.3.3.jar)