Class AFTIPCSocketFactory.ServiceAddress

java.lang.Object
javax.net.SocketFactory
org.newsclub.net.unix.AFSocketFactory<org.newsclub.net.unix.AFTIPCSocketAddress>
org.newsclub.net.unix.tipc.AFTIPCSocketFactory
org.newsclub.net.unix.tipc.AFTIPCSocketFactory.ServiceAddress
All Implemented Interfaces:
org.newsclub.net.unix.AFSocketAddressFromHostname<org.newsclub.net.unix.AFTIPCSocketAddress>
Enclosing class:
AFTIPCSocketFactory

public static class AFTIPCSocketFactory.ServiceAddress extends AFTIPCSocketFactory
Always connects sockets to the given TIPC type and instance.
Author:
Christian Kohlschütter
  • Constructor Details

    • ServiceAddress

      public ServiceAddress(int type, int instance)
      Creates an AFTIPCSocketFactory that always uses the given TIPC service type and instance, implying cluster scope.
      Parameters:
      type - The service type.
      instance - The service instance.
  • Method Details