# JConnectionCallbackHandler (jremote API)

Read Time: 1 minute(s)

# Interface JConnectionCallbackHandler


public interface JConnectionCallbackHandler
1

# Method Summary

Modifier and Type Method and Description
boolean initialise(Subject subject, JConnection connection)
Initialise a connection for the supplied Subject.
boolean reinitialise(Subject subject, JConnection connection)
The Subject intends to use a connection that was previously initialised for another Subject.
boolean reuse(Subject subject, JConnection connection)
The Subject is reusing the supplied connection.

# Method Detail

# initialise

boolean initialise(Subject subject,
                   JConnection connection)
1
2

Initialise a connection for the supplied Subject.

# reuse

boolean reuse(Subject subject,
              JConnection connection)
1
2

The Subject is reusing the supplied connection.

# reinitialise

boolean reinitialise(Subject subject,
                     JConnection connection)
1
2

The Subject intends to use a connection that was previously initialised for another Subject.

Back to jRemote API