Exemplo n.º 1
0
        internal Database(ServerNode server, string name)
        {
            m_Server = server;
            m_Name = name;

            //re-compute this in .ctor not to do this on every send
            m_CMD_NameCStringBuffer = BinUtils.WriteCStringToBuffer(m_Name+"."+Protocol.COMMAND_COLLECTION);
        }
Exemplo n.º 2
0
 internal Connection(ServerNode server) : base(server)
 {
   m_Server = server;
   connectSocket();
 }