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 int
capacity
protected CipMsgProcessor
mp
protected CipPath
route
-
Constructor Summary
Constructors Constructor Description SendingMsgProc(CipMsgProcessor mp, CipPath route)
-
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
-
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: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:
-
-