Class EvaluationRuntimeGrpc.EvaluationRuntimeImplBase

java.lang.Object
com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
EvaluationRuntimeGrpc

public abstract static class EvaluationRuntimeGrpc.EvaluationRuntimeImplBase extends Object implements io.grpc.BindableService
 A service for evaluating HTTP requests. This service is implemented by
 all the App Engine runtimes. Note that all our existing sandbox/VM
 environments only support a single app version at a time, despite the
 multi-app-version capability implied by this interface.
 TODO: Consider changing the interface to not suggest that it can
 support multiple app versions. This would probably make the code less
 confusing. Related to that, there's no reason why the AppServer-side of
 the runtime needs to inherit from this interface. To the extent that it
 really does need similar methods, it can define its own local (non-RPC)
 versions of those interfaces.
 
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request, io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
    Add an app version to the runtime.
    final io.grpc.ServerServiceDefinition
     
    void
    deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request, io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
    Delete an app version from the runtime.
    void
    handleRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request, io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.RuntimePb.UPResponse> responseObserver)
    Given information an application and an HTTP request, execute the request and prepare a response for the user.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EvaluationRuntimeImplBase

      public EvaluationRuntimeImplBase()
  • Method Details

    • handleRequest

      public void handleRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request, io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.RuntimePb.UPResponse> responseObserver)
       Given information an application and an HTTP request, execute the
       request and prepare a response for the user.
       
    • addAppVersion

      public void addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request, io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
       Add an app version to the runtime.
       
    • deleteAppVersion

      public void deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request, io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
       Delete an app version from the runtime.
       NOTE: Here, AppInfo will be an AppInfo-lite.
       
    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService