com.perforce.p4java.impl.mapbased.rpc.stream.helper
Class RpcSocketHelper
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.stream.helper.RpcSocketHelper
public class RpcSocketHelper
- extends Object
Helper class for creating and configuring sockets.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcSocketHelper
public RpcSocketHelper()
configureSocket
public static void configureSocket(Socket socket,
Properties properties)
- Configure a socket with specified properties.
createSocket
public static Socket createSocket(String host,
int port,
Properties properties,
boolean secure)
throws IOException
- Create a socket with the specified properties and connect to the specified host and port.
- Throws:
IOException
Copyright © 2015 Perforce Software. All Rights Reserved.