單項選擇題如果存在一個服務(wù)器端直接通訊函數(shù)調(diào)用:commandToClient(%client,’TellMessage’,%sender,%msg);那么對應(yīng)的客戶端響應(yīng)函數(shù)的定義可以為。()

A.functionclientCmdTellMessage(%sender,%msgString){}
B.functionclientCmdTellMessage(%client,%sender,%msgString){}
C.functionclientCmdTellMessage(%client,%function,%sender,%msgString){}
D.functionclientCmdTellMessage(%client,%function,%sender,%msgString){};


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題如果要建立多人在線的服務(wù)器,以下代碼正確的是()

A.createServer("SinglePlayer","control/data/maps/book_ch4.mis");
B.createServer("MultiPlayer","control/data/maps/book_ch4.mis");
C.createServer("MultiPlayer",control/data/maps/book_ch4.mis);
D.createServer("SinglePlayer",control/data/maps/book_ch4.mis);

2.單項選擇題若一個對象被命名為MyObject,則下列訪問該對象的語句中,錯誤的是()

A. MyObject.aproperty = 42;
B. "MyObject".aproperty = 42;
C. %objname = MyObject;       %objname.aproperty = 42;
D. %objname =42;       %objname.aproperty = 42;