I'll admit that the last bit about grabbing the IDs flew over my head since I
haven't messed with the packet-sending aspect of collage yet. 

However, before I get to that I actually need to get the connection set up.
The config file specifies the following in the connection section:

connection
        {
            type          TCPIP
            hostname      "127.0.0.1"
            port          4743
            filename      "default"
            bandwidth     102400
        }


and in my QT App I've got the following function:


bool CommandClient::_connectCollage()
    {
        _spLocalNode = new co::LocalNode();
        _spAppNode = new co::Node();
        co::ConnectionDescriptionPtr spConnection = new
co::ConnectionDescription();
        spConnection->setHostname(_hostAddress.toString().toStdString());
        spConnection->port = _uPort;
        spConnection->type = co::CONNECTIONTYPE_TCPIP;
        _spAppNode->addConnectionDescription(spConnection);
        
        if (_spLocalNode->connect(_spAppNode))
        {
            EQINFO << "Connected to application node!" << std::endl;
            return true;
        }
        else
        {
            EQERROR << "Unable to connect to application node!" <<
std::endl;
            return false;
        }
        
    }


Calling connectCollage on the QT app gives the following output in the log
(for LOG_LEVEL_ALL):

14886 
/Users/eile/Software/equalizergraphics.com/Equalizer-1.0.2/libs/collage/socketConnection.cpp:160
2432 Connected TCPIP#102400#127.0.0.1##4743#default#
14886 
/Users/shodanjr/Dropbox/Development/Current/Source/NetworkCommand/CommandClient.cxx:219
2432 Unable to connect to application node!

And on the EQ application side:

14796 Rcv eq::ser
/Users/eile/Software/equalizergraphics.com/Equalizer-1.0.2/libs/collage/fdConnection.cpp:47
107467 Got EOF, closing connection
14796 Rcv eq::ser
/Users/eile/Software/equalizergraphics.com/Equalizer-1.0.2/libs/collage/connection.cpp:216
107467 Read on dead connection
14796 Rcv eq::ser
/Users/eile/Software/equalizergraphics.com/Equalizer-1.0.2/libs/collage/localNode.cpp:880
107467 connection used 1

Is there anything I'm missing in this process?

--
View this message in context: 
http://software.1713.n2.nabble.com/Affecting-Collage-objects-outside-an-Equalizer-application-tp7301888p7302412.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to