326327328329330331332333334335336
* @param token the token sent in the ping */ public void pinged(int token) { ManagedConnectionListener listener = getConnectionEventListener(); if (listener != null) { listener.pinged(this); } } /** * Invoke a method on a remote object.
196197198199200201202203204205206
throw new IllegalStateException("No connection"); } if (invoker.isAlive()) { ManagedConnectionListener listener = getConnectionEventListener(); if (listener != null) { listener.pinged(this); } } } /**
269270271272273274275276277278279
try { invoker.ping(); ManagedConnectionListener listener = getConnectionEventListener(); if (listener != null) { listener.pinged(this); } } catch (RemoteException exception) { throw new ResourceException(exception); } } else {