Let's name inner classes with an "_" where Java puts a "$", and do

automatic name translation for those names.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4129 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-19 02:23:47 +00:00
parent a2644d5c04
commit 7ec9c8d642
16 changed files with 46 additions and 58 deletions
@@ -51,21 +51,9 @@ public class Communicator
inputFrameReceived);
_inStream = new ObjectInputStream();
addClassTranslations();
_socket.connect(_client.getHostname(), _client.getPort());
}
private function addClassTranslations () :void
{
Translations.addTranslation(
"com.threerings.presents.dobj.DSetEntry",
"com.threerings.presents.dobj.DSet$Entry");
Translations.addTranslation(
"com.threerings.crowd.data.MoveMarshaller",
"com.threerings.crowd.data.LocationMarshaller$MoveMarshaller");
}
public function logoff () :void
{
if (_socket == null) {