- receiveHeartbeat() - Method in class no.rmz.blobee.rpc.peer.HeartbeatMonitor
-
Receive a heartbeat.
- receiveMessage(Object, ChannelHandlerContext) - Method in interface no.rmz.blobee.rpc.peer.RpcMessageListener
-
A method we use to spy on the incoming RCP messages.
- registerAllExtensions(ExtensionRegistry) - Static method in class no.rmz.blobeeproto.api.proto.Rpc
-
- RemoteExecutionContext - Class in no.rmz.blobee.rpc.peer
-
Keeps the state of an invocation on the server side of the
connection.
- RemoteExecutionContext(RpcPeerHandler, ChannelHandlerContext, Rpc.MethodSignature, long, RpcDirection, boolean, boolean) - Constructor for class no.rmz.blobee.rpc.peer.RemoteExecutionContext
-
- removeClientFor(Channel) - Method in class no.rmz.blobee.rpc.client.MultiChannelClientFactory
-
- removeClientFor(Channel) - Method in interface no.rmz.blobee.rpc.client.RpcClientFactory
-
- removeClientFor(Channel) - Method in class no.rmz.blobee.rpc.client.SingeltonClientFactory
-
- removeController(ChannelHandlerContext, long) - Method in class no.rmz.blobee.rpc.server.ControllerStorage
-
- removeController(ChannelHandlerContext, long) - Method in class no.rmz.blobee.rpc.server.RpcExecutionServiceImpl
-
- reset() - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- reset() - Method in class no.rmz.blobee.controllers.RpcServiceControllerImpl
-
- ResolverImpl - Class in no.rmz.blobee.rpc.methods
-
- ResolverImpl() - Constructor for class no.rmz.blobee.rpc.methods.ResolverImpl
-
- returnCall(RemoteExecutionContext, Message) - Method in class no.rmz.blobee.rpc.client.ConnectingRpcClientImpl
-
- returnCall(RemoteExecutionContext, Message) - Method in interface no.rmz.blobee.rpc.client.RpcClient
-
Return the value of an invocation.
- returnCall(RemoteExecutionContext, Message) - Method in class no.rmz.blobee.rpc.client.RpcClientImpl
-
- returnResult(Message) - Method in class no.rmz.blobee.rpc.peer.RemoteExecutionContext
-
- returnRpcResult(long, Rpc.MethodSignature, Message, boolean) - Method in interface no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapter
-
Send a return value for an invocation.
- returnRpcResult(long, Rpc.MethodSignature, Message, boolean) - Method in class no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapterImpl
-
- Rpc - Class in no.rmz.blobeeproto.api.proto
-
- Rpc.MessageType - Enum in no.rmz.blobeeproto.api.proto
-
- Rpc.MethodSignature - Class in no.rmz.blobeeproto.api.proto
-
- Rpc.MethodSignature.Builder - Class in no.rmz.blobeeproto.api.proto
-
- Rpc.RpcControl - Class in no.rmz.blobeeproto.api.proto
-
- Rpc.RpcControl.Builder - Class in no.rmz.blobeeproto.api.proto
-
- RpcClient - Interface in no.rmz.blobee.rpc.client
-
An implement implementing an RPC client that
can be used as an utility function for clients
implementing protoc generated rpc interfaces.
- RpcClientController - Interface in no.rmz.blobee.controllers
-
The extension of the RpcControllr we use when implementing
the Rpc.
- RpcClientControllerImpl - Class in no.rmz.blobee.controllers
-
An RPC controller that is used on the client side of an invocation.
- RpcClientControllerImpl() - Constructor for class no.rmz.blobee.controllers.RpcClientControllerImpl
-
Construct a new controller instance to be used on the client side.
- RpcClientFactory - Interface in no.rmz.blobee.rpc.client
-
An interface that's used to add and remove clients for channels.
- RpcClientImpl - Class in no.rmz.blobee.rpc.client
-
- RpcClientImpl(int) - Constructor for class no.rmz.blobee.rpc.client.RpcClientImpl
-
- RpcClientImpl(int, MethodSignatureResolver) - Constructor for class no.rmz.blobee.rpc.client.RpcClientImpl
-
- RpcClientSideInvocation - Class in no.rmz.blobee.rpc.client
-
This is a value object that represents the client side of a
invocation.
- RpcClientSideInvocation(Descriptors.MethodDescriptor, RpcController, Message, Message, RpcCallback<Message>) - Constructor for class no.rmz.blobee.rpc.client.RpcClientSideInvocation
-
Construct a new method invocation.
- RpcClientSideInvocationListener - Interface in no.rmz.blobee.rpc.client
-
Used for debugging only, used to listen in on invocations
that goes through the client side.
- RpcDirection - Enum in no.rmz.blobee.rpc.peer
-
Enum used to denote the direction an RPC is going.
- RpcExecutionService - Interface in no.rmz.blobee.rpc.server
-
Execute incoming requests for remote procedure executions.
- RpcExecutionServiceImpl - Class in no.rmz.blobee.rpc.server
-
The implementation object implements one or more interfaces each of those
interfaces present methods that can be served through.
- RpcExecutionServiceImpl(String) - Constructor for class no.rmz.blobee.rpc.server.RpcExecutionServiceImpl
-
- RpcExecutionServiceImpl.ControllerCoordinate - Class in no.rmz.blobee.rpc.server
-
- RpcExecutionServiceImpl.ControllerCoordinate(ChannelHandlerContext, long) - Constructor for class no.rmz.blobee.rpc.server.RpcExecutionServiceImpl.ControllerCoordinate
-
- RPCINDEX_FIELD_NUMBER - Static variable in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl
-
- RpcMessageListener - Interface in no.rmz.blobee.rpc.peer
-
For use during debugging.
- RpcPeerHandler - Class in no.rmz.blobee.rpc.peer
-
- RpcPeerHandler(MethodSignatureResolver, RpcExecutionService, RpcClientFactory) - Constructor for class no.rmz.blobee.rpc.peer.RpcPeerHandler
-
- RpcPeerHandlerException - Exception in no.rmz.blobee.rpc.peer
-
Exception that's thrown when the RpcPeerHandler experiences
disturbing events.
- RpcPeerHandlerException(String) - Constructor for exception no.rmz.blobee.rpc.peer.RpcPeerHandlerException
-
- RpcPeerPipelineFactory - Class in no.rmz.blobee.rpc.peer
-
A factory for ChannelPipelines that willl accept incoming
RPC requests (and replies and control messages).
- RpcPeerPipelineFactory(String, RpcExecutionService, RpcClientFactory) - Constructor for class no.rmz.blobee.rpc.peer.RpcPeerPipelineFactory
-
- RpcPeerPipelineFactory(String, RpcExecutionService, RpcClientFactory, RpcMessageListener) - Constructor for class no.rmz.blobee.rpc.peer.RpcPeerPipelineFactory
-
- RpcServer - Interface in no.rmz.blobee.rpc.server
-
An RPC server interface.
- RpcServerException - Exception in no.rmz.blobee.rpc.server
-
Thrown by RpcServer implementations when things
go wrong.
- RpcServerException(Throwable) - Constructor for exception no.rmz.blobee.rpc.server.RpcServerException
-
- RpcServerException(String) - Constructor for exception no.rmz.blobee.rpc.server.RpcServerException
-
- RpcServerImpl - Class in no.rmz.blobee.rpc.server
-
An implementation of an RpcServer that will listen for incoming
TCP connections on a given InetSocketAddress, and will then handle
incoming RPC connections on that TCP connection.
- RpcServerImpl(InetSocketAddress, RpcMessageListener) - Constructor for class no.rmz.blobee.rpc.server.RpcServerImpl
-
Construct a new server implementation that will listen for
incoming client connections on the specified socket.
- RpcServerImpl(InetSocketAddress, RpcExecutionService, RpcMessageListener) - Constructor for class no.rmz.blobee.rpc.server.RpcServerImpl
-
Construct a new server implementation that will listen for
incoming client connections on the specified socket.
- RpcServiceController - Interface in no.rmz.blobee.controllers
-
An implementation of the RpcController interface that is used by
server implementations.
- RpcServiceControllerImpl - Class in no.rmz.blobee.controllers
-
A controller implementation used on the server side of an invocation.
- RpcServiceControllerImpl(RemoteExecutionContext, boolean, boolean) - Constructor for class no.rmz.blobee.controllers.RpcServiceControllerImpl
-
Construct a new controller based on a remote execution context.
- RpcSetup - Class in no.rmz.blobee.rpc
-
Setting up an RPC endpoint is about doing these three things:
Make a client instance that can be used to send and accept requests.
- runListener(ChannelHandlerContext, Object) - Method in class no.rmz.blobee.rpc.peer.RpcPeerHandler
-
- sendCancelMessage(long) - Method in interface no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapter
-
Send a cancel message.
- sendCancelMessage(long) - Method in class no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapterImpl
-
- sendHeartbeat() - Method in class no.rmz.blobee.rpc.peer.HeartbeatMonitor
-
Send a heartbeat over the wire.
- sendHeartbeat() - Method in interface no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapter
-
Send a heartbeat message so that the peer at the other
end of the connection knows that we're alive.
- sendHeartbeat() - Method in class no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapterImpl
-
- sendInvocation(String, String, String, Long, Message, boolean, boolean) - Method in interface no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapter
-
Send a request to invoke a remote procedure.
- sendInvocation(String, String, String, Long, Message, boolean, boolean) - Method in class no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapterImpl
-
- sendInvocationFailedMessage(long, String) - Method in interface no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapter
-
Sent by the serving side of a connection can inform the client
side that an invocation failed for some reason.
- sendInvocationFailedMessage(long, String) - Method in class no.rmz.blobee.rpc.peer.wireprotocol.OutgoingRpcAdapterImpl
-
- ServerSideMethodDesc - Class in no.rmz.blobee.rpc.methods
-
A value class descption of remotely invoked methods that is used
on the server side of an RPC connection.
- ServerSideMethodDesc(Method, Class, Class) - Constructor for class no.rmz.blobee.rpc.methods.ServerSideMethodDesc
-
Construct a new value object holding a description of an
RPC invoked method.
- ServiceAnnotationMapper - Class in no.rmz.blobee.rpc.server
-
- setActive(boolean) - Method in interface no.rmz.blobee.controllers.RpcClientController
-
Setting the value that is read by isActive.
- setActive(boolean) - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- setChannel(Channel) - Method in class no.rmz.blobee.rpc.client.RpcClientImpl
-
- setClientAndIndex(RpcClientImpl, long) - Method in interface no.rmz.blobee.controllers.RpcClientController
-
Associate the client with a client and an index.
- setClientAndIndex(RpcClientImpl, long) - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- setFailed(String) - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- setFailed(String) - Method in class no.rmz.blobee.controllers.RpcServiceControllerImpl
-
- setFailed(String) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setInputType(String) - Method in class no.rmz.blobeeproto.api.proto.Rpc.MethodSignature.Builder
-
- setListener(RpcMessageListener) - Method in class no.rmz.blobee.rpc.peer.RpcPeerHandler
-
- setMessageType(Rpc.MessageType) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setMethodName(String) - Method in class no.rmz.blobeeproto.api.proto.Rpc.MethodSignature.Builder
-
- setMethodSignature(Rpc.MethodSignature) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setMethodSignature(Rpc.MethodSignature.Builder) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setMultiReturn() - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- setMultiReturn() - Method in class no.rmz.blobee.controllers.RpcServiceControllerImpl
-
- setMultiReturn() - Method in interface no.rmz.blobee.rpc.client.BlobeeRpcController
-
Set this invocation to be multi-return, meaning that a procedure can
return more than one value.
- setMultiReturn(boolean) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setNoReturn() - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- setNoReturn() - Method in class no.rmz.blobee.controllers.RpcServiceControllerImpl
-
- setNoReturn() - Method in interface no.rmz.blobee.rpc.client.BlobeeRpcController
-
Set this invocation to be no-return, meaning that it is assumed that the
return-value callback will not be invoked.
- setNoReturn(boolean) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setOutputType(String) - Method in class no.rmz.blobeeproto.api.proto.Rpc.MethodSignature.Builder
-
- setPayload(ByteString) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- setRpcIndex(long) - Method in class no.rmz.blobeeproto.api.proto.Rpc.RpcControl.Builder
-
- shutdownHook() - Method in interface no.rmz.blobee.rpc.client.ChannelShutdownCleaner
-
Run this hook when the client is shut doen.
- SingeltonClientFactory - Class in no.rmz.blobee.rpc.client
-
A factory that will create exactly one instance for a particular
channel.
- SingeltonClientFactory(RpcClient) - Constructor for class no.rmz.blobee.rpc.client.SingeltonClientFactory
-
Produce a factory that always returns the same rpc client.
- start() - Method in class no.rmz.blobee.rpc.client.ConnectingRpcClientImpl
-
- start() - Method in interface no.rmz.blobee.rpc.client.RpcClient
-
Start the client.
- start(Channel, ChannelShutdownCleaner) - Method in class no.rmz.blobee.rpc.client.RpcClientImpl
-
- start() - Method in class no.rmz.blobee.rpc.client.RpcClientImpl
-
- start() - Method in interface no.rmz.blobee.rpc.server.RpcServer
-
Start the RPC server.
- start() - Method in class no.rmz.blobee.rpc.server.RpcServerImpl
-
Bind to bootstrap socket and start accepting incoming connections and
requests.
- startCancel() - Method in class no.rmz.blobee.controllers.RpcClientControllerImpl
-
- startCancel() - Method in class no.rmz.blobee.controllers.RpcServiceControllerImpl
-
- startCancel() - Method in class no.rmz.blobee.rpc.peer.RemoteExecutionContext
-
- startCancel(ChannelHandlerContext, long) - Method in interface no.rmz.blobee.rpc.server.RpcExecutionService
-
Cancel an invocation.
- startCancel(ChannelHandlerContext, long) - Method in class no.rmz.blobee.rpc.server.RpcExecutionServiceImpl
-
- stop() - Method in class no.rmz.blobee.rpc.client.ConnectingRpcClientImpl
-
- stop() - Method in interface no.rmz.blobee.rpc.client.RpcClient
-
Stop the client from accepting incoming invocations.
- stop() - Method in class no.rmz.blobee.rpc.client.RpcClientImpl
-
- stop() - Method in interface no.rmz.blobee.rpc.server.RpcServer
-
Stop the service.
- stop() - Method in class no.rmz.blobee.rpc.server.RpcServerImpl
-
- storeController(ChannelHandlerContext, long, RpcServiceController) - Method in class no.rmz.blobee.rpc.server.ControllerStorage
-
- storeController(ChannelHandlerContext, long, RpcServiceController) - Method in class no.rmz.blobee.rpc.server.RpcExecutionServiceImpl
-