Class SendingMsgProc
- java.lang.Object
-
- com.automation_pros.odva.cip.requests.SendingMsgProc
-
- All Implemented Interfaces:
CipMsgProcessor
public class SendingMsgProc extends java.lang.Object implements CipMsgProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected intcapacityprotected CipMsgProcessormpprotected CipPathroute
-
Constructor Summary
Constructors Constructor Description SendingMsgProc(CipMsgProcessor mp, CipPath route)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxMsg()Return this message processor's max allowed message size in bytes.voidsend(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
-
route
protected final CipPath route
-
capacity
protected final int capacity
-
-
Constructor Detail
-
SendingMsgProc
public SendingMsgProc(CipMsgProcessor mp, CipPath route)
-
-
Method Detail
-
send
public void send(CipRequest req)
Description copied from interface:CipMsgProcessorCore method to send or execute a request.- Specified by:
sendin interfaceCipMsgProcessor
-
getMaxMsg
public int getMaxMsg()
Description copied from interface:CipMsgProcessorReturn this message processor's max allowed message size in bytes. Applies to both request and reply.- Specified by:
getMaxMsgin interfaceCipMsgProcessor- Returns:
-
-