Archived
This forum has been archived. Please start a new discussion on GitHub.
remote administration
LingZheng
in Help Center
i need to get the state of the server through the network with Java
for example,in the picture,the state of the "DemoGlacier2" is Active, I need to get the state from another computer
i tried one day,but i can not find the way to resove this,can anybody provide a demo to me, thanks
Attachment not found.
for example,in the picture,the state of the "DemoGlacier2" is Active, I need to get the state from another computer
i tried one day,but i can not find the way to resove this,can anybody provide a demo to me, thanks
Attachment not found.
0
Comments
-
You must create an IceGrid Administrative Session then you can retrieve the state using the IceGrid::Admin interface.0
-
Hi,
You can retrieve the adapter information with the IceGrid::Admin::getAdapterInfo call. The proxy attribute of the IceGrid::AdapterInfo structure will be non-null if the object adapter is accessible, null otherwise.
Cheers,
Benoit.0 -
thanks [USER="34"]benoit[/USER]
but i can not find the state of the adapter in the AdapterInfo array,does it means this adapter has no state information?
Attachment not found.0
