Package org.epics.pvdata.copy
Class CreateRequest
- java.lang.Object
-
- org.epics.pvdata.copy.CreateRequest
-
public class CreateRequest extends Object
- Author:
- mrk This is mainly used by pvAccess clients. Given a request string it creates a pvRequest structure that can be passed to the pvAccess create methods. In turn pvAccess passes the pvRequest to a local channel provider which then passes it to pvCopy.
-
-
Constructor Summary
Constructors Constructor Description CreateRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateRequestcreate()Create CreateRequest.PVStructurecreateRequest(String request)Create a request structure for the create methods in Channel.StringgetMessage()Get the reason why the last call to createRequest returned null.
-
-
-
Method Detail
-
create
public static CreateRequest create()
Create CreateRequest.- Returns:
- new instance of CreateRequest
-
createRequest
public PVStructure createRequest(String request)
Create a request structure for the create methods in Channel. See the package overview documentation for details.- Parameters:
request- The field request. See the package overview documentation for details.- Returns:
- The request structure. If an invalid request was given null is returned and getMessage can be called to find the reason for the failure.
-
getMessage
public String getMessage()
Get the reason why the last call to createRequest returned null.- Returns:
- The reason why createRequest failed.
-
-