Commit 34481c85 authored by Kenton Varda's avatar Kenton Varda

Update bootstraps for previous commit.

parent c3cfe9e5
...@@ -196,7 +196,8 @@ class Persistent<SturdyRef, Owner>::Server ...@@ -196,7 +196,8 @@ class Persistent<SturdyRef, Owner>::Server
public: public:
typedef Persistent Serves; typedef Persistent Serves;
::kj::Promise<void> dispatchCall(uint64_t interfaceId, uint16_t methodId, ::capnp::Capability::Server::DispatchCallResult dispatchCall(
uint64_t interfaceId, uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
override; override;
...@@ -209,7 +210,8 @@ protected: ...@@ -209,7 +210,8 @@ protected:
.template castAs< ::capnp::Persistent<SturdyRef, Owner>>(); .template castAs< ::capnp::Persistent<SturdyRef, Owner>>();
} }
::kj::Promise<void> dispatchCallInternal(uint16_t methodId, ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context); ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
}; };
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -446,7 +448,8 @@ class RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Serv ...@@ -446,7 +448,8 @@ class RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Serv
public: public:
typedef RealmGateway Serves; typedef RealmGateway Serves;
::kj::Promise<void> dispatchCall(uint64_t interfaceId, uint16_t methodId, ::capnp::Capability::Server::DispatchCallResult dispatchCall(
uint64_t interfaceId, uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
override; override;
...@@ -463,7 +466,8 @@ protected: ...@@ -463,7 +466,8 @@ protected:
.template castAs< ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>>(); .template castAs< ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>>();
} }
::kj::Promise<void> dispatchCallInternal(uint16_t methodId, ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context); ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
}; };
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -893,7 +897,7 @@ template <typename SturdyRef, typename Owner> ...@@ -893,7 +897,7 @@ template <typename SturdyRef, typename Owner>
0xc8cb212fcd9f5691ull, 0); 0xc8cb212fcd9f5691ull, 0);
} }
template <typename SturdyRef, typename Owner> template <typename SturdyRef, typename Owner>
::kj::Promise<void> Persistent<SturdyRef, Owner>::Server::dispatchCall( ::capnp::Capability::Server::DispatchCallResult Persistent<SturdyRef, Owner>::Server::dispatchCall(
uint64_t interfaceId, uint16_t methodId, uint64_t interfaceId, uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) { ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) {
switch (interfaceId) { switch (interfaceId) {
...@@ -904,13 +908,16 @@ template <typename SturdyRef, typename Owner> ...@@ -904,13 +908,16 @@ template <typename SturdyRef, typename Owner>
} }
} }
template <typename SturdyRef, typename Owner> template <typename SturdyRef, typename Owner>
::kj::Promise<void> Persistent<SturdyRef, Owner>::Server::dispatchCallInternal( ::capnp::Capability::Server::DispatchCallResult Persistent<SturdyRef, Owner>::Server::dispatchCallInternal(
uint16_t methodId, uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) { ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) {
switch (methodId) { switch (methodId) {
case 0: case 0:
return save(::capnp::Capability::Server::internalGetTypedContext< return {
typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults>(context)); save(::capnp::Capability::Server::internalGetTypedContext<
typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults>(context)),
false
};
default: default:
(void)context; (void)context;
return ::capnp::Capability::Server::internalUnimplemented( return ::capnp::Capability::Server::internalUnimplemented(
...@@ -1262,7 +1269,7 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty ...@@ -1262,7 +1269,7 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty
0x84ff286cd00a3ed4ull, 1); 0x84ff286cd00a3ed4ull, 1);
} }
template <typename InternalRef, typename ExternalRef, typename InternalOwner, typename ExternalOwner> template <typename InternalRef, typename ExternalRef, typename InternalOwner, typename ExternalOwner>
::kj::Promise<void> RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Server::dispatchCall( ::capnp::Capability::Server::DispatchCallResult RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Server::dispatchCall(
uint64_t interfaceId, uint16_t methodId, uint64_t interfaceId, uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) { ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) {
switch (interfaceId) { switch (interfaceId) {
...@@ -1273,16 +1280,22 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty ...@@ -1273,16 +1280,22 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty
} }
} }
template <typename InternalRef, typename ExternalRef, typename InternalOwner, typename ExternalOwner> template <typename InternalRef, typename ExternalRef, typename InternalOwner, typename ExternalOwner>
::kj::Promise<void> RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Server::dispatchCallInternal( ::capnp::Capability::Server::DispatchCallResult RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Server::dispatchCallInternal(
uint16_t methodId, uint16_t methodId,
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) { ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) {
switch (methodId) { switch (methodId) {
case 0: case 0:
return import(::capnp::Capability::Server::internalGetTypedContext< return {
typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults>(context)); import(::capnp::Capability::Server::internalGetTypedContext<
typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults>(context)),
false
};
case 1: case 1:
return export_(::capnp::Capability::Server::internalGetTypedContext< return {
typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults>(context)); export_(::capnp::Capability::Server::internalGetTypedContext<
typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults>(context)),
false
};
default: default:
(void)context; (void)context;
return ::capnp::Capability::Server::internalUnimplemented( return ::capnp::Capability::Server::internalUnimplemented(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment