use of org.onosproject.xmpp.core.XmppDeviceId in project onos by opennetworkinglab.
the class XmppPubSubControllerImpl method notify.
@Override
public void notify(DeviceId deviceId, XmppEventNotification eventNotification) {
XmppDeviceId xmppDeviceId = asXmppDeviceId(deviceId);
xmppController.getDevice(xmppDeviceId).sendPacket(eventNotification);
}
use of org.onosproject.xmpp.core.XmppDeviceId in project onos by opennetworkinglab.
the class XmppPubSubControllerImpl method notifyError.
@Override
public void notifyError(DeviceId deviceId, XmppPubSubError error) {
XmppDeviceId xmppDeviceId = asXmppDeviceId(deviceId);
xmppController.getDevice(xmppDeviceId).sendError(error.asPacketError());
}
Aggregations