Home Notices Documents Classes Download Others Rice Cooker
Classes  >  pipe  >  pipe(string)
pipe class : pipe(string) fitter

Description

Get a new instance of pipe class.

Syntax

new pipe(string channelName)

Arguments

ClassNameDescription
stringchannelNameChannel name.

Return value

ClassDescription
pipeA new instance of pipe class. This instance has been initialized.

Sample code

1:

pipe p = new pipe("newchannel");

Notes

Creates an instance and opens a new channel with the specified channel name.

If a channel with the specified channel name already exists, an exception will occur.

Links for reference

None.

Copyright © Rice All rights reserved.