|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.remote.AbstractConnection
javax.rad.remote.SubConnection
public class SubConnection
The SubConnection
uses the connection of a
MasterConnection
for transfering data to the server. It has
no alive check.
IConnection
Field Summary |
---|
Fields inherited from class javax.rad.remote.AbstractConnection |
---|
coninf, connection |
Method Summary | |
---|---|
void |
close()
Close the connection. |
MasterConnection |
getMasterConnection()
Returns the master connection. |
boolean |
isOpen()
Checks if the connection is open. |
void |
open()
Opens the connection. |
Methods inherited from class javax.rad.remote.AbstractConnection |
---|
addConnectionListener, call, call, call, call, call, call, call, callAction, callAction, callAction, callAction, callAction, callAction, callAction, createConnectionProperties, finalize, fireCall, fireCallAction, fireCallError, fireClose, fireOpen, firePropertyChanged, fireReOpen, getApplicationName, getConnection, getConnectionId, getConnectionListener, getLifeCycleName, getPassword, getProperties, getProperty, getTimeout, getUserName, removeConnectionListener, reopen, setApplicationName, setLifeCycleName, setPassword, setProperty, setTimeout, setUserName |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void open() throws Throwable
open
in class AbstractConnection
Throwable
- if the connection can not be or is already openedpublic boolean isOpen()
isOpen
in class AbstractConnection
true
if the connection is open, otherwise false
public void close() throws Throwable
close
in class AbstractConnection
Throwable
- if it is not possible to close the connectionpublic MasterConnection getMasterConnection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |