Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
34481c85
Commit
34481c85
authored
Apr 28, 2019
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update bootstraps for previous commit.
parent
c3cfe9e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
14 deletions
+27
-14
persistent.capnp.h
c++/src/capnp/persistent.capnp.h
+27
-14
No files found.
c++/src/capnp/persistent.capnp.h
View file @
34481c85
...
...
@@ -196,7 +196,8 @@ class Persistent<SturdyRef, Owner>::Server
public
:
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
)
override
;
...
...
@@ -209,7 +210,8 @@ protected:
.
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
);
};
#endif // !CAPNP_LITE
...
...
@@ -446,7 +448,8 @@ class RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Serv
public
:
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
)
override
;
...
...
@@ -463,7 +466,8 @@ protected:
.
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
);
};
#endif // !CAPNP_LITE
...
...
@@ -893,7 +897,7 @@ template <typename SturdyRef, typename Owner>
0xc8cb212fcd9f5691ull
,
0
);
}
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
,
::
capnp
::
CallContext
<
::
capnp
::
AnyPointer
,
::
capnp
::
AnyPointer
>
context
)
{
switch
(
interfaceId
)
{
...
...
@@ -904,13 +908,16 @@ 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
,
::
capnp
::
CallContext
<
::
capnp
::
AnyPointer
,
::
capnp
::
AnyPointer
>
context
)
{
switch
(
methodId
)
{
case
0
:
return
save
(
::
capnp
::
Capability
::
Server
::
internalGetTypedContext
<
typename
::
capnp
::
Persistent
<
SturdyRef
,
Owner
>::
SaveParams
,
typename
::
capnp
::
Persistent
<
SturdyRef
,
Owner
>::
SaveResults
>
(
context
));
return
{
save
(
::
capnp
::
Capability
::
Server
::
internalGetTypedContext
<
typename
::
capnp
::
Persistent
<
SturdyRef
,
Owner
>::
SaveParams
,
typename
::
capnp
::
Persistent
<
SturdyRef
,
Owner
>::
SaveResults
>
(
context
)),
false
};
default
:
(
void
)
context
;
return
::
capnp
::
Capability
::
Server
::
internalUnimplemented
(
...
...
@@ -1262,7 +1269,7 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty
0x84ff286cd00a3ed4ull
,
1
);
}
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
,
::
capnp
::
CallContext
<
::
capnp
::
AnyPointer
,
::
capnp
::
AnyPointer
>
context
)
{
switch
(
interfaceId
)
{
...
...
@@ -1273,16 +1280,22 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty
}
}
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
,
::
capnp
::
CallContext
<
::
capnp
::
AnyPointer
,
::
capnp
::
AnyPointer
>
context
)
{
switch
(
methodId
)
{
case
0
:
return
import
(
::
capnp
::
Capability
::
Server
::
internalGetTypedContext
<
typename
::
capnp
::
RealmGateway
<
InternalRef
,
ExternalRef
,
InternalOwner
,
ExternalOwner
>::
ImportParams
,
typename
::
capnp
::
Persistent
<
InternalRef
,
InternalOwner
>::
SaveResults
>
(
context
));
return
{
import
(
::
capnp
::
Capability
::
Server
::
internalGetTypedContext
<
typename
::
capnp
::
RealmGateway
<
InternalRef
,
ExternalRef
,
InternalOwner
,
ExternalOwner
>::
ImportParams
,
typename
::
capnp
::
Persistent
<
InternalRef
,
InternalOwner
>::
SaveResults
>
(
context
)),
false
};
case
1
:
return
export_
(
::
capnp
::
Capability
::
Server
::
internalGetTypedContext
<
typename
::
capnp
::
RealmGateway
<
InternalRef
,
ExternalRef
,
InternalOwner
,
ExternalOwner
>::
ExportParams
,
typename
::
capnp
::
Persistent
<
ExternalRef
,
ExternalOwner
>::
SaveResults
>
(
context
));
return
{
export_
(
::
capnp
::
Capability
::
Server
::
internalGetTypedContext
<
typename
::
capnp
::
RealmGateway
<
InternalRef
,
ExternalRef
,
InternalOwner
,
ExternalOwner
>::
ExportParams
,
typename
::
capnp
::
Persistent
<
ExternalRef
,
ExternalOwner
>::
SaveResults
>
(
context
)),
false
};
default
:
(
void
)
context
;
return
::
capnp
::
Capability
::
Server
::
internalUnimplemented
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment