protected void Disconnect()
 {
     NeuronConnection.Disconnect(boundActor.owner);
     UnregisterCallbacks();
     boundActor = null;
     source     = null;
 }
        protected bool Connect()
        {
            source = NeuronConnection.Connect(address, port, commandServerPort, socketType);
            if (source != null)
            {
                boundActor = source.AcquireActor(actorID);
                RegisterCallbacks();
            }

            return(source != null);
        }