コード例 #1
0
        /*************************************  Constructor  ***************************************/

        public KernelLinkImpl()
        {
            objectHandler  = new ObjectHandler();
            callPktHandler = new CallPacketHandler(objectHandler);
        }
コード例 #2
0
 // Share the state from another link into this link (because it is pointing at the same kernel).
 // This is public because it turns out to be useful in some specialized applications, like UnityLink
 // and GrasshopperLink, where we need to create two links into the same kernel from the program,
 // and both need to have object refs flow across them.
 public void copyStateFrom(KernelLinkImpl other)
 {
     objectHandler  = other.objectHandler;
     callPktHandler = other.callPktHandler;
 }