Class BarrierMsgProc
- java.lang.Object
-
- com.automation_pros.odva.cip.requests.BarrierMsgProc
-
- All Implemented Interfaces:
CipMsgProcessor
public class BarrierMsgProc extends java.lang.Object implements CipMsgProcessor
-
-
Field Summary
Fields Modifier and Type Field Description CipBarrier
barrier
protected int
capacity
protected CipMsgProcessor
mp
-
Constructor Summary
Constructors Constructor Description BarrierMsgProc(CipMsgProcessor mp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxMsg()
Return this message processor's max allowed message size in bytes.void
send(CipRequest req)
Core method to send or execute a request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.automation_pros.odva.cip.types.CipMsgProcessor
send
-
-
-
-
Field Detail
-
mp
protected final CipMsgProcessor mp
-
capacity
protected final int capacity
-
barrier
public CipBarrier barrier
-
-
Constructor Detail
-
BarrierMsgProc
public BarrierMsgProc(CipMsgProcessor mp)
-
-
Method Detail
-
send
public void send(CipRequest req)
Description copied from interface:CipMsgProcessor
Core method to send or execute a request.- Specified by:
send
in interfaceCipMsgProcessor
-
getMaxMsg
public int getMaxMsg()
Description copied from interface:CipMsgProcessor
Return this message processor's max allowed message size in bytes. Applies to both request and reply.- Specified by:
getMaxMsg
in interfaceCipMsgProcessor
- Returns:
-
-