comm

package
v0.0.0-...-1a21ecf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2015 License: MIT Imports: 7 Imported by: 4

Documentation

Overview

Package comm implements the communication module of freestore's clients and servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastRPCRequest

func BroadcastRPCRequest(destinationView *view.View, serviceMethod string, arg interface{}) error

BroadcastRPCRequest invokes serviceMethod at all members of the destinationView with arg. It returns an error if it fails to receive a response from a quorum of processes.

func SendRPCRequest

func SendRPCRequest(process view.Process, serviceMethod string, arg interface{}, result interface{}) error

SendRPCRequest invokes serviceMethod at process with arg and puts the result at result. Any communication error that occurs is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL