TBR: veyron/security/acl/test: Update VDL generated file.
Change-Id: Ic1ffa6bbca211d245e4cbf487e430ae0fd94d166
diff --git a/security/acl/test/vdl.vdl.go b/security/acl/test/vdl.vdl.go
index 37b3dac..91e5790 100644
--- a/security/acl/test/vdl.vdl.go
+++ b/security/acl/test/vdl.vdl.go
@@ -85,9 +85,27 @@
// It takes a regular server implementing the MyObjectService
// interface, and returns a new server stub.
func NewServerMyObject(server MyObjectService) interface{} {
- return &ServerStubMyObject{
+ stub := &ServerStubMyObject{
service: server,
}
+ var gs _gen_ipc.GlobState
+ var self interface{} = stub
+ // VAllGlobber is implemented by the server object, which is wrapped in
+ // a VDL generated server stub.
+ if x, ok := self.(_gen_ipc.VAllGlobber); ok {
+ gs.VAllGlobber = x
+ }
+ // VAllGlobber is implemented by the server object without using a VDL
+ // generated stub.
+ if x, ok := server.(_gen_ipc.VAllGlobber); ok {
+ gs.VAllGlobber = x
+ }
+ // VChildrenGlobber is implemented in the server object.
+ if x, ok := server.(_gen_ipc.VChildrenGlobber); ok {
+ gs.VChildrenGlobber = x
+ }
+ stub.gs = &gs
+ return stub
}
// clientStubMyObject implements MyObject.
@@ -196,6 +214,7 @@
// the requirements of veyron2/ipc.ReflectInvoker.
type ServerStubMyObject struct {
service MyObjectService
+ gs *_gen_ipc.GlobState
}
func (__gen_s *ServerStubMyObject) GetMethodTags(call _gen_ipc.ServerCall, method string) ([]interface{}, error) {
@@ -275,6 +294,10 @@
return
}
+func (__gen_s *ServerStubMyObject) VGlob() *_gen_ipc.GlobState {
+ return __gen_s.gs
+}
+
func (__gen_s *ServerStubMyObject) Get(call _gen_ipc.ServerCall) (err error) {
err = __gen_s.service.Get(call)
return