%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/RingServer/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/RingServer/new-c.ri

U:RDoc::AnyMethod[iI"new:ETI"Rinda::RingServer::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"8Advertises +ts+ on the given +addresses+ at +port+.;To:RDoc::Markup::BlankLineo;
;	[I"FIf +addresses+ is omitted only the UDP broadcast address is used.;T@o;
;	[I"L+addresses+ can contain multiple addresses.  If a multicast address is ;TI"Hgiven in +addresses+ then the RingServer will listen for multicast ;TI"
queries.;T@o;
;	[I"MIf you use IPv4 multicast you may need to set an address of the inbound ;TI"-interface which joins a multicast group.;T@o:RDoc::Markup::Verbatim;	[I" ts = Rinda::TupleSpace.new
;TI"@rs = Rinda::RingServer.new(ts, [['239.0.0.1', '9.5.1.1']])
;T:@format0o;
;	[I"IYou can set addresses as an Array Object.  The first element of the ;TI"IArray is a multicast address and the second is an inbound interface ;TI"?address.  If the second is omitted then '0.0.0.0' is used.;T@o;
;	[I"LIf you use IPv6 multicast you may need to set both the local interface ;TI"-address and the inbound interface index:;T@o;;	[I"=rs = Rinda::RingServer.new(ts, [['ff02::1', '::1', 1]])
;T;
0o;
;	[I"KThe first element is a multicast address and the second is an inbound ;TI"Ainterface address.  The third is an inbound interface index.;T@o;
;	[I"IAt this time there is no easy way to get an interface index by name.;T@o;
;	[I"2If the second is omitted then '::1' is used. ;TI"@If the third is omitted then 0 (default interface) is used.;T:
@fileI"lib/rinda/ring.rb;T:0@omit_headings_from_table_of_contents_below000[I"9(ts, addresses=[Socket::INADDR_ANY], port=Ring_PORT);T@6FI"RingServer;TcRDoc::NormalClass00

Zerion Mini Shell 1.0