Esempio n. 1
0
 public GetCacheBinding(string id, byte[] useName, byte[] password)
 {
     base.name                       = "GetCacheBinding";
     _getCacheBinding                = new Alachisoft.NCache.Common.Protobuf.GetCacheBindingCommand();
     _getCacheBinding.cacheId        = id;
     _getCacheBinding.binaryUserId   = useName;
     _getCacheBinding.binaryPassword = password;
 }
        private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager)
        {
            CommandInfo cmdInfo = new CommandInfo();

            Alachisoft.NCache.Common.Protobuf.GetCacheBindingCommand getCacheBindingCommand = command.getCacheBindingCommand;
            cmdInfo.CacheId = getCacheBindingCommand.cacheId;
            return(cmdInfo);
        }