blob: 131faa65577610777882e2f032a56e19f8e5dc57 [file] [log] [blame]
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// Specification of the messages between registrar and gateway.
//
// TODO: Merge channel.proto and channel_server.proto
// to one file and rename it to registrar_gateway.proto
syntax = "proto2";
package com.google.protos.ipc.invalidation;
option optimize_for = LITE_RUNTIME;
option java_outer_classname = "Channel";
message NetworkEndpointId {
enum NetworkAddress {
TEST = 1; // A delivery service for testing
// Low numbers reserved.
ANDROID = 113; // Android delivery service using c2dm / http.
LCS = 114; // Lightweight connection service (Marmoset) channel.
}
optional NetworkAddress network_address = 1;
optional bytes client_address = 2;
}