Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Open Networking Laboratory |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 16 | package org.onosproject.store.link.impl; |
Madan Jampani | 2ff0559 | 2014-10-10 15:42:47 -0700 | [diff] [blame] | 17 | |
Marc De Leenheer | b473b9d | 2015-02-06 15:21:03 -0800 | [diff] [blame] | 18 | import org.onosproject.store.cluster.messaging.MessageSubject; |
Madan Jampani | 2ff0559 | 2014-10-10 15:42:47 -0700 | [diff] [blame] | 19 | |
| 20 | /** |
| 21 | * MessageSubjects used by GossipLinkStore peer-peer communication. |
| 22 | */ |
| 23 | public final class GossipLinkStoreMessageSubjects { |
| 24 | |
| 25 | private GossipLinkStoreMessageSubjects() {} |
| 26 | |
Madan Jampani | a97e820 | 2014-10-10 17:01:33 -0700 | [diff] [blame] | 27 | public static final MessageSubject LINK_UPDATE = |
| 28 | new MessageSubject("peer-link-update"); |
| 29 | public static final MessageSubject LINK_REMOVED = |
| 30 | new MessageSubject("peer-link-removed"); |
| 31 | public static final MessageSubject LINK_ANTI_ENTROPY_ADVERTISEMENT = |
| 32 | new MessageSubject("link-enti-entropy-advertisement"); |
Marc De Leenheer | b473b9d | 2015-02-06 15:21:03 -0800 | [diff] [blame] | 33 | public static final MessageSubject LINK_INJECTED = |
| 34 | new MessageSubject("peer-link-injected"); |
Madan Jampani | 2ff0559 | 2014-10-10 15:42:47 -0700 | [diff] [blame] | 35 | } |