}
protected void handleMessage(ACLMessage msg) {
try {
receivedContentElement = myAgent.getContentManager().extractContent(msg);
ContentElement keyCel = extractKeyContentElement(receivedContentElement);
if (myLogger.isLoggable(Logger.FINE)) {
myLogger.log(Logger.FINE, "Agent "+myAgent.getName()+" - Serving "+keyCel.getClass().getName()+" "+ACLMessage.getPerformative(msg.getPerformative()));
}
Method m = findServerMethod(keyCel, msg.getPerformative());
if (m != null) {
try {
m.invoke(serverDelegate, new Object[]{keyCel, msg});