Code example for PipedOutputStream

Methods: connect

0
	} 
 
	public InputStream getInputStream() {
		PipedInputStream input = new PipedInputStream();
		try { 
			mOut.connect(input);
		} catch (IOException e) {
			e.printStackTrace();
		} 
		return input;
	} 
 
	public void setDelay(int delay) {
		mDelay = delay;
	} 
	 
	public Vector<String> getReceivedMessages() {
		return mReceivedMessages;
	} 
	 
	public void start() {