Skip navigation
Toggle Sidebar

Project Documentation


Roadmap

1. Support all Gigaspaces intefaces

2. Support exit to the deserialization class

Usage Instructions


Examples

In the following lines enclosed is an example how to use the module from a PHP page:

<html><head></head><body>
<?php
    try {      	  
	$obj = new COM("RockeTierGS_Connect.csRockeTierGS_Connect");
	         echo "created ";    
	}

	catch (Exception $e) {
 		echo "notcreated ";        
		echo 'Caught exception: ',  $e->getMessage(), "\n";    
	}
 
    if ($obj)
    {
        	class Person
        	{                
		public $m_nId;                
		public $m_sFirstName;                
		public $m_sLastName;        
	}

 
	      echo "new entry ";
 $a = new Person();
        $a->m_nId = 12345;
        $a->m_sFirstName = "John";
        $a->m_sLastName= "Doe";
        echo $obj->Write("jini:////phpSpace","com.example.helloworld.Person",json_encode($a));
    }
?></body></html>

Screenshots


Adaptavist Theme Builder Powered by Atlassian Confluence