org.umu.macow.pip
Class PIPService

java.lang.Object
  extended by org.umu.macow.pip.PIPService

public class PIPService
extends java.lang.Object

This is the PIP Web Service. User: jmalcaraz@um.es - University Of Murcia


Constructor Summary
PIPService()
           
 
Method Summary
static void main(java.lang.String[] args)
          Entry point to PIP Server
 java.lang.String retrieveFullKnowledge()
          This method will get the knowledge about all the managed elements controlled by MACOW.
 void subscribePIP(java.lang.String pubsubsURL, java.lang.String mySelfURL)
          This method will suscribe the PIP to Event Manager Server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PIPService

public PIPService()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

subscribePIP

public void subscribePIP(java.lang.String pubsubsURL,
                         java.lang.String mySelfURL)
                  throws java.rmi.RemoteException
This method will suscribe the PIP to Event Manager Server.

Parameters:
pubsubsURL - This is the URl of Event manager server
mySelfURL - This is the URL of PIP entity.
Throws:
java.rmi.RemoteException - In case any error occur during communications

retrieveFullKnowledge

public java.lang.String retrieveFullKnowledge()
                                       throws java.rmi.RemoteException
This method will get the knowledge about all the managed elements controlled by MACOW. It is the addition of all the knowledege provided by all PEPs involved on the architecture.

Returns:
This RDF/XML document containing the description of whole information system in CIM.
Throws:
java.rmi.RemoteException - In case any error occur during communications

main

public static void main(java.lang.String[] args)
Entry point to PIP Server

Parameters:
args - argument to PIP Server