Definition at line 28 of file Communication.h.
- (int) forceCheckFlags: | (int) | flag | ||
force: | (int) | force | ||
type: | (char) | type | ||
If something we want to happen hasn't yet, send it again.
The low byte is the request, the high byte is a max count. When the max count reaches zero, the client stops trying. Checking is done with a macro for speed & clarity.
Definition at line 441 of file Communication.m.
References sendShortPacketNoForceWithId:state:, and universe.
Referenced by checkForce.
Here is the call graph for this function:
Here is the caller graph for this function:
- (void) sendPingReq: | (NSNumber *) | start |
sendRSAResponse not implemented yet
void sendRSAResponse(byte[] data) { buffer[0] = CP_RSA_KEY; query the socket to determine the remote host (ATM) System.arraycopy(server.getAddress(), 0, data, 0, 4); int port = tcp_socket.getPort(); data[4] = (char)((port >>> 8) & 0xFF); data[5] = (char)(port & 0xFF);
byte[] response = RSA.generateRSAResponse(data); System.arraycopy(response, 0, buffer, 4, response.length); sendServerPacket(4 + response.length); }
Definition at line 807 of file Communication.m.
References sendServerPacketWithBuffer:length:.
Here is the call graph for this function:
- (bool) startCommunicationThread |
Definition at line 1275 of file Communication.m.
References LLThreadWorker::workOn:withSelector:withObject:didEndSelector:.
Here is the call graph for this function: