narupa.protocol.trajectory.trajectory_service_pb2_grpc module¶
Client and server classes corresponding to protobuf-defined services.
-
class
narupa.protocol.trajectory.trajectory_service_pb2_grpc.TrajectoryService¶ Bases:
objectA 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
GetFrame(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
-
static
GetFrames(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
-
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)¶
-
static
-
class
narupa.protocol.trajectory.trajectory_service_pb2_grpc.TrajectoryServiceServicer¶ Bases:
objectA 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
-
GetFrame(request, context)¶ Request a specific frame. This may be used to provider a ‘molecule-on-demand’ service
-
GetFrames(request, context)¶ Request a set of frames specified in the request
-
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
narupa.protocol.trajectory.trajectory_service_pb2_grpc.TrajectoryServiceStub(channel)¶ Bases:
objectA 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
-
narupa.protocol.trajectory.trajectory_service_pb2_grpc.add_TrajectoryServiceServicer_to_server(servicer, server)¶