OrbitObject

OrbitObject -- Access CORBA objects

Description

new OrbitObject (string ior)

警告

この関数は、 実験的 なものです。 この関数の動作・関数名を含めここに書かれていることすべてが このパッケージの将来のリリースで予告なく変更される可能性があります。 注意を喚起するとともに、使用者のリスクでこの関数を使用してください。

This class provides access to a CORBA object. The ior parameter should be a string containing the IOR (Interoperable Object Reference) that identifies the remote object.

例 1Sample IDL file

interface MyInterface {
    void SetInfo (string info);
    string GetInfo();

    attribute int value;
}

例 2PHP code for accessing MyInterface


<?php
$obj = new OrbitObject ($ior);

$obj->SetInfo ("A 2GooD object");

echo $obj->GetInfo();

$obj->value = 42;

echo $obj->value;
?>