public class RpcSocketHelper extends Object
Constructor and Description |
---|
RpcSocketHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
configureSocket(Socket socket,
Properties properties)
Configure a socket with specified properties.
|
static Socket |
createSocket(String host,
int port,
Properties properties,
boolean secure)
Create a socket with the specified properties and connect to the specified host and port.
|
public static void configureSocket(Socket socket, Properties properties)
public static Socket createSocket(String host, int port, Properties properties, boolean secure) throws IOException
IOException
Copyright © 2017 Perforce Software. All Rights Reserved.