Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.cloud.basic
Class CommunicationLink

    java.lang.Object
      org.encog.cloud.basic.CommunicationLink

    public class CommunicationLink

extends Object

Field Summary
`int` | `SOCKET_TIMEOUT`

Constructor Summary
`CommunicationLink(Socket s)`

Method Summary
`CloudPacket` | `readPacket()`
`static String` | `simpleHash(String str)`
`void` | `writePacket(int command)`
`void` | `writePacket(int command, String[] args)`
`void` | `writePacketIdentify(String name)`
`void` | `writePacketLogin(String uid, String pwd)`
`void` | `writeStatus(boolean s, String message)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### SOCKET_TIMEOUT

    public final int SOCKET_TIMEOUT

See Also:
  Constant Field Values

Constructor Detail

### CommunicationLink

    public CommunicationLink(Socket s)

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.