Class WireServiceConnection

All Implemented Interfaces:
Closeable, AutoCloseable

public class WireServiceConnection extends WireConnection<IServiceProperties,FbWireService>
Wire connection instance for connecting to a service.
Since:
3.0
Author:
Mark Rotteveel
  • Constructor Details

    • WireServiceConnection

      public WireServiceConnection(IServiceProperties serviceProperties) throws SQLException
      Creates a WireServiceConnection (without establishing a connection to the server) with the default protocol collection.
      Parameters:
      serviceProperties - Service properties
      Throws:
      SQLException
    • WireServiceConnection

      public WireServiceConnection(IServiceProperties serviceProperties, IEncodingFactory encodingFactory, ProtocolCollection protocols) throws SQLException
      Creates a WireServiceConnection (without establishing a connection to the server).
      Parameters:
      serviceProperties - Service properties
      encodingFactory - Factory for encoding definitions
      protocols - The collection of protocols to use for this connection.
      Throws:
      SQLException
  • Method Details