public interface MessageSender
| Modifier and Type | Method and Description |
|---|---|
List<MessageFuture> |
send(List<OpenflowMessage> msgs,
DataPathId dpid)
Sends the specified list of messages (in order) to the specified
datapath.
|
MessageFuture |
send(OpenflowMessage msg,
DataPathId dpid)
Sends the specified message to the specified datapath.
|
MessageFuture send(OpenflowMessage msg, DataPathId dpid) throws OpenflowException
Important Note:
The sending of FlowMod messages via this method is disallowed;
use ControllerService.sendFlowMod(com.h3c.of.lib.msg.OfmFlowMod, com.h3c.of.lib.dt.DataPathId) instead.
msg - the OpenFlow message to senddpid - the OpenFlow datapath to which the message is to be sentNullPointerException - if either parameter is nullIllegalArgumentException - if msg is mutable, or if it is a
FlowModOpenflowException - if there was a problem encoding or sending
the messageList<MessageFuture> send(List<OpenflowMessage> msgs, DataPathId dpid) throws OpenflowException
Important Note:
The sending of FlowMod messages via this method is disallowed;
use ControllerService.sendFlowMod(com.h3c.of.lib.msg.OfmFlowMod, com.h3c.of.lib.dt.DataPathId) instead.
msgs - the OpenFlow messages to senddpid - the OpenFlow datapath to which the messages are to be sentNullPointerException - if either parameter is null, or if any
element in the list is nullIllegalArgumentException - if any message in the list is mutable,
or is a FlowModOpenflowException - if there was a problem encoding or sending
the messagesCopyright © 2014. All Rights Reserved.