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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user