|
||||||||||
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
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.rad.remote.AbstractConnection |
---|
AbstractConnection.CallBackResultDelegate, AbstractConnection.ListenerDelegate<K>, AbstractConnection.PropertyChangedDelegate |
Field Summary |
---|
Fields inherited from class javax.rad.remote.AbstractConnection |
---|
coninf, connection |
Method Summary | |
---|---|
protected void |
close(boolean pDoCall)
Close the connection, with or without remote call. |
MasterConnection |
getMasterConnection()
Returns the master connection. |
protected UIInvoker |
getUIInvoker()
Gets the UI invoker. |
boolean |
isOpen()
Checks if the connection is open. |
void |
openConnection()
Opens the connection without event handling. |
void |
reopen()
Reopens the connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void openConnection() throws java.lang.Throwable
openConnection
in class AbstractConnection
java.lang.Throwable
- if the connection can not be or is already openedprotected UIInvoker getUIInvoker()
getUIInvoker
in class AbstractConnection
UIInvoker
public void reopen() throws java.lang.Throwable
reopen
in class AbstractConnection
java.lang.Throwable
- if an error occurs while opening the connectionpublic boolean isOpen()
isOpen
in class AbstractConnection
true
if the connection is open, otherwise false
protected void close(boolean pDoCall) throws java.lang.Throwable
close
in class AbstractConnection
pDoCall
- true
to send close to the server, false
to close internal without
remote communication (client-side close)
java.lang.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 |