Class ConxClass.CxParams
- java.lang.Object
-
- com.automation_pros.odva.cip.core.ConxClass.CxParams
-
- Enclosing class:
- ConxClass
public static class ConxClass.CxParams extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConxClass.CxParams.CxPriority
static class
ConxClass.CxParams.CxType
-
Constructor Summary
Constructors Constructor Description CxParams(boolean redundant, ConxClass.CxParams.CxType type, ConxClass.CxParams.CxPriority prio, boolean variable, int size)
Construct a parameters object from explicit connection parameters.CxParams(int large)
Construct a parameters object from a large forward open's 32-bit connection parameters word.CxParams(short small)
Construct a parameters object from a forward open's 16-bit connection parameters word.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
short
shortValue()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CxParams
public CxParams(short small)
Construct a parameters object from a forward open's 16-bit connection parameters word.- Parameters:
small
-
-
CxParams
public CxParams(int large)
Construct a parameters object from a large forward open's 32-bit connection parameters word.- Parameters:
large
-
-
CxParams
public CxParams(boolean redundant, ConxClass.CxParams.CxType type, ConxClass.CxParams.CxPriority prio, boolean variable, int size)
Construct a parameters object from explicit connection parameters.- Parameters:
redundant
- True if this direction is a redundant owner connectiontype
- Null for pings or reconfiguration, multicast for UDP data transfer in class zero or one connections, Point-2-Point otherwise.prio
- Low for messaging, scheduled for UDP I/Ovariable
- True for messaging, either for I/Osize
- Maximum payload size (variable) or actual payload size (fixed)
-
-