public class ServiceNetworkEvent extends org.onosproject.event.AbstractEvent<ServiceNetworkEvent.Type,ServiceNetwork>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceNetworkEvent.Type
Type of service network event.
|
| Constructor and Description |
|---|
ServiceNetworkEvent(ServiceNetworkEvent.Type type,
ServiceNetwork serviceNetwork)
Creates an event of a given type and for the specified service network and
the current time.
|
ServiceNetworkEvent(ServiceNetworkEvent.Type type,
ServiceNetwork serviceNetwork,
Provider provider)
Creates an event of a given type and for the specified service network,
provider, dependency type with the provider, and the current time.
|
ServiceNetworkEvent(ServiceNetworkEvent.Type type,
ServiceNetwork serviceNetwork,
ServicePort servicePort)
Creates an event of a given type and for the specified service network,
port and the current time.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
provider()
Returns the provider of the service network.
|
ServicePort |
servicePort()
Returns the service port subject.
|
String |
toString() |
public ServiceNetworkEvent(ServiceNetworkEvent.Type type, ServiceNetwork serviceNetwork)
type - service network event typeserviceNetwork - service network subjectpublic ServiceNetworkEvent(ServiceNetworkEvent.Type type, ServiceNetwork serviceNetwork, ServicePort servicePort)
type - service network event typeserviceNetwork - service network subjectservicePort - optional service port subjectpublic ServiceNetworkEvent(ServiceNetworkEvent.Type type, ServiceNetwork serviceNetwork, Provider provider)
type - service network event typeserviceNetwork - service network subjectprovider - optional provider networkpublic ServicePort servicePort()
public Provider provider()
public String toString()
toString in class org.onosproject.event.AbstractEvent<ServiceNetworkEvent.Type,ServiceNetwork>Copyright © 2018. All rights reserved.