equal
deleted
inserted
replaced
120 * |
120 * |
121 * @param payload A dictionary containing the data if the received Jdp packet. |
121 * @param payload A dictionary containing the data if the received Jdp packet. |
122 */ |
122 */ |
123 private void jdpPacketReceived(Map<String, String> payload) throws Exception { |
123 private void jdpPacketReceived(Map<String, String> payload) throws Exception { |
124 final String instanceName = payload.get("INSTANCE_NAME"); |
124 final String instanceName = payload.get("INSTANCE_NAME"); |
125 if (instanceName.equals(connection.instanceName)) { |
125 if (instanceName != null && instanceName.equals(connection.instanceName)) { |
126 packetFromThisVMReceived(payload); |
126 packetFromThisVMReceived(payload); |
127 } else { |
127 } else { |
128 packetFromOtherVMReceived(payload); |
128 packetFromOtherVMReceived(payload); |
129 } |
129 } |
130 } |
130 } |