blob: df407e0006cd224a61b51b4f30ac88a93006f762 [file] [log] [blame]
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you 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.
##
// This file automatically generated by:
// Apache Etch 1.1.0-incubating (LOCAL-0) / c 1.1.0-incubating (LOCAL-0)
// Fri Aug 28 15:58:20 CEST 2009
// This file is automatically created and should not be edited!
/*
* $helper.getRemoteFileNameH($intf, $mc)
* $helper.getIntfName($intf) remote.
* combines java bindings's RemotePerf, Perf, and RemoteBase.
*/
#ifndef $helper.getRemoteName($intf, "").toUpperCase()_H
#define $helper.getRemoteName($intf, "").toUpperCase()_H
\#include "$helper.getIntfFileNameH($intf)"
\#include "etch_remote.h"
\#include "etch_transport.h"
#ifdef __cplusplus
extern "C" {
#endif
extern unsigned short CLASSID_$helper.getRemoteName($intf, "").toUpperCase();
/**
* $helper.getRemoteName($intf, $suffix)
*/
typedef struct $helper.getRemoteName($intf, "")
{
etch_object object;
i_$helper.getIntfName($intf)* i$helper.getIntfName($intf); /* possibly owned */
i_delivery_service* dsvc; /* not owned */
etch_value_factory* vf; /* not owned */
unsigned char remote_type; /* client or server */
unsigned char is_service_interface_owned;
unsigned short unused; /* alignment */
etch_message* (*new_message) (void*, etch_type*);
int (*send) (void*, etch_message*);
void* (*sendex) (void*, etch_message*);
etch_delivsvc_begincall begin_call; /* i_mailbox** out */
etch_delvisvc_endcall end_call; /* etch_object** out */
int (*start_waitup) (void*, const int waitms);
int (*stop_waitdown) (void*, const int waitms);
/* - - - - - - - - - - - - -
* transport functionality
* - - - - - - - - - - - - -
*/
etch_transport_control transport_control;
etch_transport_notify transport_notify;
etch_transport_query transport_query;
etch_transport_get_session get_session;
etch_transport_set_session set_session;
/* - - - - - - - - - - -
* service virtuals
* - - - - - - - - - - -
*/
#foreach( $n in $intf.iterator() )
#if ($n.isMessage())
#if (!$n.isHidden())
$helper.getIntfName( $intf )_$n.name() $n.name();
#end
#end
#end
#foreach( $n in $intf.iterator() )
#if ($n.isStruct())
#if (!$n.isHidden())
$n.efqname($helper)* $n.name().toString();
#end
#end
#end
/* - - - - - - - - - - -
* private instance data
* - - - - - - - - - - -
*/
} $helper.getRemoteName($intf, "");
$helper.getRemoteName($intf, "")* new_$helper.getRemoteName($intf, "") (void*, i_delivery_service*, etch_value_factory*, i_$helper.getIntfName($intf)*);
#ifdef __cplusplus
} //extern "C"
#endif
#endif /* $helper.getRemoteName($intf, "").toUpperCase()_H */