Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

RPC::Lite::Transport -- Transport base class.

RPC::Lite::Transport -- Transport base class.



NAME

RPC::Lite::Transport -- Transport base class.


DESCRIPTION

RPC::Lite::Transport is the base for implementing transport layers for RPC::Lite.

ReadData( [$timeout] )
Attempts to read data from the stream within the (optional) timeout period.

WriteData( $data )
Writes $data to the stream. Returns the number of bytes written or undef if there was an error.

Connect()
Connects to the server specified on transport layer construction. Returns a boolean indicating success or failure.

Disconnect()
Severs the connection with the server. Returns a boolean indicating success or failure.

Listen()
Begin listening for incoming connections.

GetNewConnection()
Checks for a new incoming connection and returns an RPC::Lite::Transport object of the proper type if there is one, undef otherwise.


SUPPORTED TRANSPORT LAYERS

TCP



=cut

1;

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy