nanover.protocol.trajectory.trajectory_service_pb2_grpc module
Client and server classes corresponding to protobuf-defined services.
- class nanover.protocol.trajectory.trajectory_service_pb2_grpc.TrajectoryService
Bases:
object
A service which provides access to frames of a trajectory, which may either be precomputed or represent a live simulation. It can also be used to obtain one or more frames on demand, allowing molecules or trajectories to be generated based on requests
- static SubscribeFrames(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)
- static SubscribeLatestFrames(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)
- class nanover.protocol.trajectory.trajectory_service_pb2_grpc.TrajectoryServiceServicer
Bases:
object
A service which provides access to frames of a trajectory, which may either be precomputed or represent a live simulation. It can also be used to obtain one or more frames on demand, allowing molecules or trajectories to be generated based on requests
- SubscribeFrames(request, context)
Subscribe to a continuous updating source of frames. Frames are added to the stream when they are available
- SubscribeLatestFrames(request, context)
Subscribe to a continuous updating source of frames. The client gets the latest available frame at the time of transmission.
- class nanover.protocol.trajectory.trajectory_service_pb2_grpc.TrajectoryServiceStub(channel)
Bases:
object
A service which provides access to frames of a trajectory, which may either be precomputed or represent a live simulation. It can also be used to obtain one or more frames on demand, allowing molecules or trajectories to be generated based on requests
- nanover.protocol.trajectory.trajectory_service_pb2_grpc.add_TrajectoryServiceServicer_to_server(servicer, server)