Java Reference
In-Depth Information
The
setUseClientMode()
method allows a program to indicate that even though it has
created an
SSLServerSocket
, it is and should be treated as a client in the communication
with respect to authentication and other negotiations. For example, in an FTP session,
the client program opens a server socket to receive data from the server, but that doesn't
make it less of a client. The
getUseClientMode()
method returns
true
if the
SSLServerSocket
is in client mode,
false
otherwise:
public
abstract
void
setUseClientMode
(
boolean
flag
)
public
abstract
boolean
getUseClientMode
()