MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / close

Method close

java/jms/src/org/opendds/jms/SessionImpl.java:268–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 public void close() throws JMSException {
269 if (closed) return;
270
271 logger.debug("Closing %s", this);
272
273 for (MessageProducer producer: createdProducers) {
274 producer.close();
275 }
276
277 for (MessageConsumer consumer: createdConsumers) {
278 consumer.close();
279 }
280
281 executor.shutdown();
282
283 closed = true;
284 }
285
286 public void checkClosed() {
287 if (closed) throw new IllegalStateException("This Session is closed.");

Callers 10

executeMethod · 0.45
BE_produceFunction · 0.45
destroyMethod · 0.45
setObjectMethod · 0.45
getObjectMethod · 0.45
cleanupMethod · 0.45
acknowledgeMethod · 0.45
acknowledgedMethod · 0.45
unsubscribeMethod · 0.45
loadLibrariesMethod · 0.45

Calls 2

debugMethod · 0.80
shutdownMethod · 0.45

Tested by

no test coverage detected