org.encog.cloud.basic
Class CommunicationLink
java.lang.Object
org.encog.cloud.basic.CommunicationLink
public class CommunicationLink
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOCKET_TIMEOUT
public final int SOCKET_TIMEOUT
- See Also:
- Constant Field Values
CommunicationLink
public CommunicationLink(Socket s)
simpleHash
public static String simpleHash(String str)
writePacket
public void writePacket(int command)
writePacketLogin
public void writePacketLogin(String uid,
String pwd)
writePacket
public void writePacket(int command,
String[] args)
readPacket
public CloudPacket readPacket()
throws IOException
- Throws:
IOException
writeStatus
public void writeStatus(boolean s,
String message)
writePacketIdentify
public void writePacketIdentify(String name)
Copyright © 2012. All Rights Reserved.