org.jenkinsci.plugins.tcl.interpreter
Class jTclChannel

java.lang.Object
  extended by tcl.lang.channel.Channel
      extended by tcl.lang.channel.StdChannel
          extended by org.jenkinsci.plugins.tcl.interpreter.jTclChannel

public class jTclChannel
extends tcl.lang.channel.StdChannel

Implements standard IO channels for Tcl interpreter.

Author:
Oleg Nenashev

Field Summary
 
Fields inherited from class tcl.lang.channel.StdChannel
STDERR, STDIN, STDOUT
 
Fields inherited from class tcl.lang.channel.Channel
blocking, buffering, bufferSize, encoding, eofInputFilter, eofOutputFilter, eolInputFilter, eolOutputFilter, finalInputStream, finalReader, firstOutputStream, firstWriter, inputBuffer, inputEofChar, inputTranslation, markableInputStream, mode, nonBlockingOutputStream, outputBuffer, outputEofChar, outputTranslation, rawInputStream, rawOutputStream, READ_OWNERSHIP, refCount, unicodeDecoder, unicodeEncoder, WRITE_OWNERSHIP
 
Constructor Summary
jTclChannel(String name, jTclChannelType type, InputStream input)
           
jTclChannel(String name, jTclChannelType type, OutputStream output)
           
 
Method Summary
 String getChanName()
           
protected  InputStream getInputStream()
           
protected  OutputStream getOutputStream()
           
 jTclChannelType getType()
           
 
Methods inherited from class tcl.lang.channel.StdChannel
setErr, setIn, setOut
 
Methods inherited from class tcl.lang.channel.Channel
checkRead, checkWrite, close, eof, flush, getBlocking, getBuffering, getBufferSize, getEncoding, getInputEofChar, getInputTranslation, getOutputEofChar, getOutputTranslation, initInput, initOutput, isBlocked, isClosed, isReadOnly, isReadWrite, isWriteOnly, read, seek, setBlocking, setBuffering, setBufferSize, setEncoding, setInputEofChar, setInputTranslation, setOutputEofChar, setOutputTranslation, setOwnership, setOwnership, tell, waitForOwnership, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

jTclChannel

public jTclChannel(String name,
                   jTclChannelType type,
                   OutputStream output)
            throws jTclException
Throws:
jTclException

jTclChannel

public jTclChannel(String name,
                   jTclChannelType type,
                   InputStream input)
            throws jTclException
Throws:
jTclException
Method Detail

getInputStream

protected InputStream getInputStream()
                              throws IOException
Overrides:
getInputStream in class tcl.lang.channel.StdChannel
Throws:
IOException

getOutputStream

protected OutputStream getOutputStream()
                                throws IOException
Overrides:
getOutputStream in class tcl.lang.channel.StdChannel
Throws:
IOException

getChanName

public String getChanName()
Overrides:
getChanName in class tcl.lang.channel.Channel

getType

public jTclChannelType getType()


Copyright © 2004-2013. All Rights Reserved.