Parcourir la source

Renamed class in example.

mitm il y a 5 ans
Parent
commit
9b6d3d9372
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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();
     ...
 }