コード例 #1
0
 public StreamServer createStreamServer(NetworkAddressFactory networkAddressFactory) {
   return new StreamServerImpl(
       new StreamServerConfigurationImpl(networkAddressFactory.getStreamListenPort()));
 }
コード例 #2
0
 public MulticastReceiver createMulticastReceiver(NetworkAddressFactory networkAddressFactory) {
   return new MulticastReceiverImpl(
       new MulticastReceiverConfigurationImpl(
           networkAddressFactory.getMulticastGroup(), networkAddressFactory.getMulticastPort()));
 }