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 | */ |
Madan Jampani | 38b250d | 2014-10-17 11:02:38 -0700 | [diff] [blame] | 16 | package org.onlab.onos.store.flow.impl; |
| 17 | |
| 18 | import org.onlab.onos.store.cluster.messaging.MessageSubject; |
| 19 | |
| 20 | /** |
| 21 | * MessageSubjects used by DistributedFlowRuleStore peer-peer communication. |
| 22 | */ |
| 23 | public final class FlowStoreMessageSubjects { |
| 24 | private FlowStoreMessageSubjects() {} |
Yuta HIGUCHI | 9def047 | 2014-10-23 15:51:10 -0700 | [diff] [blame] | 25 | |
| 26 | public static final MessageSubject APPLY_BATCH_FLOWS |
| 27 | = new MessageSubject("peer-forward-apply-batch"); |
| 28 | |
| 29 | public static final MessageSubject GET_FLOW_ENTRY |
| 30 | = new MessageSubject("peer-forward-get-flow-entry"); |
Madan Jampani | f5fdef0 | 2014-10-23 21:58:10 -0700 | [diff] [blame] | 31 | |
| 32 | public static final MessageSubject GET_DEVICE_FLOW_ENTRIES |
| 33 | = new MessageSubject("peer-forward-get-device-flow-entries"); |
Yuta HIGUCHI | dfa45c1 | 2014-11-24 18:38:53 -0800 | [diff] [blame^] | 34 | |
| 35 | public static final MessageSubject REMOVE_FLOW_ENTRY |
| 36 | = new MessageSubject("peer-forward-remove-flow-entry"); |
Madan Jampani | 38b250d | 2014-10-17 11:02:38 -0700 | [diff] [blame] | 37 | } |