예제 #1
0
        public void disconnect(gov.cca.ConnectionID connID, float timeout)
        {
            ManagerObject manager = backend.DGAC.BackEnd.connectToManager(out ch);

            manager.disconnect(connID, timeout);

            backend.DGAC.BackEnd.releaseManager(ch);
        }
예제 #2
0
        public void setConnectionProperties(gov.cca.ConnectionID connID, gov.cca.TypeMap map)
        {
            ManagerObject manager = backend.DGAC.BackEnd.connectToManager(out ch);

            manager.setConnectionProperties(connID, new TypeMapImpl(map));

            backend.DGAC.BackEnd.releaseManager(ch);
        }
예제 #3
0
        public gov.cca.TypeMap getConnectionProperties(gov.cca.ConnectionID connID)
        {
            ManagerObject manager = backend.DGAC.BackEnd.connectToManager(out ch);

            gov.cca.TypeMap properties = manager.getConnectionProperties(connID);

            backend.DGAC.BackEnd.releaseManager(ch);

            return(properties);
        }
예제 #4
0
        public gov.cca.ConnectionID connect(gov.cca.ComponentID user, string usingPortName, gov.cca.ComponentID provider, string providingPortName)
        {
            ManagerObject manager = backend.DGAC.BackEnd.connectToManager(out ch);

            gov.cca.ConnectionID conn_id = manager.connect(user, usingPortName, provider, providingPortName);

            backend.DGAC.BackEnd.releaseManager(ch);

            return(conn_id);
        }