In distributed computing, a stub is a program that acts as a temporary replacement for a remote service or object.
In distributed computing, an intermediary is a program that temporarily assumes the role of a far-off service or item.