charly.client
Interface ChResource

All Known Implementing Classes:
ChGpibSrq, ChGpibUnit, ChRobClient

public interface ChResource

ChResource represents a resource, that can be reserved on a server.


Method Summary
 ChConnect getConnection()
          Implementations should return the connection to the server where the resource can be found.
 java.lang.String getResourceName()
          Implementations should return the resource name, e.g.
 void setTask(ChTask task)
          implementations are informed by this method, which task handles this resource.
 

Method Detail

getResourceName

public java.lang.String getResourceName()
Implementations should return the resource name, e.g. "GPIB/3/CHAN2".


getConnection

public ChConnect getConnection()
Implementations should return the connection to the server where the resource can be found.


setTask

public void setTask(ChTask task)
implementations are informed by this method, which task handles this resource.