Lines Matching full:server
48 /// Represents a gRPC server.
51 /// \a Server instances.
52 class Server : public ServerInterface, private GrpcLibraryCodegen {
54 ~Server();
56 /// Block until the server shuts down.
58 /// \warning The server must be either shutting down or some other thread must
62 /// Global callbacks are a set of hooks that are called when server
66 /// \a Server instances in an application and can be set exactly
71 /// Called before server is created.
73 /// Called before application callback for each synchronous server request
75 /// Called after application callback for each synchronous server request
77 /// Called before server is started.
78 virtual void PreServerStart(Server* server) {} in PreServerStart() argument
79 /// Called after a server port is added.
80 virtual void AddPort(Server* server, const grpc::string& addr, in AddPort() argument
85 /// to be alive until all server objects in the process have been destroyed.
87 /// application and is shared among all \a Server objects.
104 /// The service must exist for the lifetime of the Server instance.
107 /// Try binding the server to the given \a addr endpoint
111 /// starting the server.
113 /// \param addr The address to try to bind to the server (eg, localhost:1234,
115 /// \param creds The credentials associated with the server.
119 /// \warning It is an error to call this method on an already started server.
123 /// NOTE: This is *NOT* a public API. The server constructors are supposed to
127 /// Server constructors. To be used by \a ServerBuilder only.
134 /// \param sync_server_cqs The completion queues to use if the server is a
135 /// synchronous server (or a hybrid server). The server polls for new RPCs on
138 /// \param min_pollers The minimum number of polling threads per server
140 /// incoming requests (used only in case of sync server)
142 /// \param max_pollers The maximum number of polling threads per server
144 /// incoming requests (used only in case of sync server)
147 /// server completion queues passed via sync_server_cqs param.
148 Server(int max_message_size, ChannelArguments* args,
154 /// Start the server.
157 /// caller is required to keep all completion queues live until the server is
162 grpc_server* server() override { return server_; }; in server() function
175 /// This is only used in case of a Sync server (i.e a server exposing a sync
180 /// service. The service must exist for the lifetime of the Server instance.
197 /// i.e. if the server has any services with sync methods. The server uses
206 // Server status