| /* |
| * |
| * 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! |
| |
| /* |
| * helloworld_remote_server.h |
| * generated remote procedure calls. |
| */ |
| |
| #ifndef HELLOWORLD_REMOTE_SERVER_H |
| #define HELLOWORLD_REMOTE_SERVER_H |
| |
| #include "helloworld_remote.h" |
| #include "helloworld_server.h" |
| #include "helloworld_valufact.h" |
| #include "etch_transport.h" |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| extern unsigned short CLASSID_HELLOWORLD_REMOTE_SERVER; |
| |
| |
| /** |
| * helloworld_remote_server |
| */ |
| typedef struct helloworld_remote_server |
| { |
| etch_object object; |
| |
| i_helloworld_server* server_base; /* owned */ |
| helloworld_remote* remote_base; /* owned */ |
| etch_client_factory* client_factory; /* owned */ |
| helloworld_valufact* vf; /* owned by base */ |
| int server_id; |
| |
| helloworld_say_hello say_hello; |
| |
| /* |
| helloworld_user* user; |
| */ |
| |
| /* private, generally. since unit tests invoke async begin and end, |
| * we must expose them either as virtuals or as external references. |
| */ |
| helloworld_async_begin_say_hello async_begin_say_hello; |
| |
| helloworld_async_end_say_hello async_end_say_hello; |
| |
| } helloworld_remote_server; |
| |
| |
| /* constructor */ |
| helloworld_remote_server* new_helloworld_remote_server(void*, i_delivery_service*, etch_value_factory*); |
| |
| int helloworld_remote_dispose_mailbox(helloworld_remote_server*, i_mailbox**); |
| |
| /* convenience methods to override client's session interface methods */ |
| etch_stub* helloworld_remote_get_stubbase (helloworld_remote_server*); |
| etch_session_notify helloworld_remote_set_session_notify(helloworld_remote_server*, etch_session_notify); |
| etch_session_control helloworld_remote_set_session_control(helloworld_remote_server*, etch_session_control); |
| etch_session_query helloworld_remote_set_session_query(helloworld_remote_server*, etch_session_query); |
| |
| #ifdef __cplusplus |
| } //extern "C" |
| #endif |
| |
| #endif /* HELLOWORLD_REMOTE_SERVER_H */ |