Package org.openmuc.jdlms
Class MethodParameter
- java.lang.Object
-
- org.openmuc.jdlms.CosemResourceDescriptor
-
- org.openmuc.jdlms.MethodParameter
-
public final class MethodParameter extends CosemResourceDescriptor
Collection of data needed for a single remote ACTION call.
-
-
Constructor Summary
Constructors Constructor Description MethodParameter(int classId, java.lang.String instanceId, int methodId)
Creates an action parameter for that particular method with no data container.MethodParameter(int classId, java.lang.String instanceId, int methodId, DataObject methodParameter)
MethodParameter(int classId, ObisCode instanceId, int methodId)
Creates an action parameter for that particular method with no data container.MethodParameter(int classId, ObisCode instanceId, int methodId, DataObject methodParameter)
Creates an action parameter for that particular method with a copy of the given data container.MethodParameter(MethodClass methodClass, java.lang.String instanceId, DataObject methodParameter)
Deprecated.since 1.5.1.MethodParameter(MethodClass methodClass, ObisCode instanceId, DataObject methodParameter)
Deprecated.since 1.5.1.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataObject
getParameter()
Get the method parameter.java.lang.String
toString()
-
Methods inherited from class org.openmuc.jdlms.CosemResourceDescriptor
getClassId, getId, getInstanceId
-
-
-
-
Constructor Detail
-
MethodParameter
public MethodParameter(int classId, ObisCode instanceId, int methodId)
Creates an action parameter for that particular method with no data container.- Parameters:
classId
- Class of the object to changeinstanceId
- Identifier of the remote object to changemethodId
- Method of the object that shall be called
-
MethodParameter
public MethodParameter(int classId, java.lang.String instanceId, int methodId)
Creates an action parameter for that particular method with no data container.- Parameters:
classId
- Class of the object to change.instanceId
- Identifier of the remote object to change.methodId
- Method of the object that shall be called.
-
MethodParameter
public MethodParameter(int classId, ObisCode instanceId, int methodId, DataObject methodParameter)
Creates an action parameter for that particular method with a copy of the given data container.- Parameters:
classId
- Class of the object to change.instanceId
- Identifier of the remote object to change.methodId
- Method of the object that is to change.methodParameter
- Container of this parameter
-
MethodParameter
public MethodParameter(int classId, java.lang.String instanceId, int methodId, DataObject methodParameter)
-
MethodParameter
@Deprecated public MethodParameter(MethodClass methodClass, java.lang.String instanceId, DataObject methodParameter)
Deprecated.since 1.5.1. Use the none enum initializer ofMethodParameter
.Creates an action parameter for that particular method with a copy of the given data container.- Parameters:
methodClass
- the method of a specific class.instanceId
- Identifier of the remote object to change.methodParameter
- Container of this parameter.
-
MethodParameter
@Deprecated public MethodParameter(MethodClass methodClass, ObisCode instanceId, DataObject methodParameter)
Deprecated.since 1.5.1. Use the none enum initializer ofMethodParameter
.Creates an action parameter for that particular method with a copy of the given data container.- Parameters:
methodClass
- the method of a specific class.instanceId
- Identifier of the remote object to change.methodParameter
- Container of this parameter.
-
-
Method Detail
-
getParameter
public DataObject getParameter()
Get the method parameter.- Returns:
- the method parameter.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCosemResourceDescriptor
-
-