瀏覽代碼

Renamed class in example.

mitm 5 年之前
父節點
當前提交
9b6d3d9372
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/docs/asciidoc/jme3/advanced/networking.adoc

+ 2 - 2
src/docs/asciidoc/jme3/advanced/networking.adoc

@@ -207,7 +207,7 @@ public static void initializeSerializables() {
 }
 ----
 
-The method is located in a class we created for messaging, that is common to both the client and server and is named `NetCommon`. We then call this method from `simpleInitApp` after creating but BEFORE starting the server as shown.
+The method is located in a class we created for messaging, that is common to both the client and server and is named `NetMessaging`. We then call this method from `simpleInitApp` after creating but BEFORE starting the server as shown.
 
 [source, java]
 ----
@@ -216,7 +216,7 @@ public void simpleInitApp() {
 
     ...
         Server myServer = Network.createServer(6143);
-        NetCommon.initializeSerializables();
+        NetMessaging.initializeSerializables();
         server.start();
     ...
 }