Class UUID::Client
In: lib/uuid.rb
Parent: Object

Every server needs a client. Client provides you with the single ultimate method: generate. Typically you‘ll use this instead of the local UUID generator:

  UUID.server = UUID::SOCKET_NAME

Methods

close   connect   generate   inspect   new  

Public Class methods

Public Instance methods

Close the socket.

Returns UNIXSocket or TCPSocket from address. Returns argument if not a string, so can pass through.

Talks to server and returns new UUID in specified format.

[Validate]