Class skeleton

Class skeleton

Contents

As pattern

A class skeleton is an outline of a class that is used in software engineering. It contains a description of the class's roles, and describes the purposes of the variables and methods, but does not implement them. The class is later implemented from the skeleton.

As server side object

In a distributed computing environment a skeleton stands for a server side object participating in distributed object communication.

Role of the skeleton in the distributed object communication.

A skeleton acts as gateway for server side objects and all incoming clients requests are routed through it. The skeleton wraps server object functionality and exposes it to the clients, moreover by adding the network logic ensures the reliable communication channel between clients and server. Skeletons can be written up manually or generated automatically depending on chosen communication protocol.

The skeleton is responsible for:

  • translating incoming data from the stub to the correct up-calls to server objects
  • unmarshalling of the arguments from received data
  • passing arguments to server objects
  • marshalling of the returned values from server objects
  • passing values back to the client stub over the network

Protocols using stub/skeleton approach

  • RPC - Remote Procedure Call;
  • CORBA - Common Object Request Broker Architecture;
  • DCE - Distributed Computing Environment;
  • RMI - Remote Method Invocation;
  • .NET Remoting - .NET Remoting;
  • DCOM - Distributed Component Object Model (note that the stub is called "proxy" and the skeleton is called "stub"[1]);
  • DDObjects is a framework for distributed objects using Borland Delphi;
  • Distributed Ruby (DRb) is a framework for distributed objects using the Ruby programming language.

References

  1. ^ MSDN: Marshalling details.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Skeleton (disambiguation) — A skeleton is a biological system providing support in a living organism.Skeleton may also mean: *Human skeleton, human anatomy * Skeleton (category theory), in mathematics, every category has a skeleton in which no two distinct objects are… …   Wikipedia

  • Skeleton (computer programming) — Skeleton programming is a style of computer programming based on simple high level program structures and so called dummy code. Program skeletons resemble pseudocode, but allow parsing, compilation and testing of the code. Dummy code is inserted… …   Wikipedia

  • Skeleton (computer science) — Skeleton programming is a style of computer programming based on simple high level program structures and dummy code. Program skeletons resemble pseudocode, but allows parsing, compilation and testing of the code. Skeleton programming facilitates …   Wikipedia

  • skeleton — skeletonless, adj. skeletonlike, adj. /skel i tn/, n. 1. Anat., Zool. the bones of a human or an animal considered as a whole, together forming the framework of the body. 2. any of various structures forming a rigid framework in an invertebrate.… …   Universalium

  • skeleton — 01. The children discovered a [skeleton] of a dog while they were walking in the woods. 02. The average human adult [skeleton] weighs about 25 pounds. 03. The human [skeleton] has only 206 bones, but cats have 230 bones. 04. The world s largest,… …   Grammatical examples in English

  • Skeleton Army — The Skeleton Army was a diffuse group, particularly in southern England, that opposed and disrupted the Salvation Army s marches against alcohol in the nineteenth century.In April 1884 the owner of a liquor shop in Worthing objected to Salvation… …   Wikipedia

  • Class stub — In the distributed computing environment, stub stands for client side object participating in the distributed object communication. Role of the stub in the distributed object communication. The stub acts as a gateway for client side objects and… …   Wikipedia

  • Skeleton tarantula — Ephebopus murinus Scientific classification Kingdom: Animalia Phylum …   Wikipedia

  • class Osteichthyes — noun a class of fish having a skeleton composed of bone in addition to cartilage • Syn: ↑Osteichthyes • Hypernyms: ↑class • Member Holonyms: ↑Vertebrata, ↑subphylum Vertebrata, ↑Craniata, ↑ …   Useful english dictionary

  • class Reptilia — noun class of cold blooded air breathing vertebrates with completely ossified skeleton and a body usually covered with scales or horny plates; once the dominant land animals • Syn: ↑Reptilia • Derivationally related forms: ↑reptilian (for:… …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”