org.alfresco.util.remote.server
Class AbstractRemoteInputStreamServer
java.lang.Object
org.alfresco.util.remote.server.AbstractRemoteInputStreamServer
- All Implemented Interfaces:
- RemoteInputStreamServer
- Direct Known Subclasses:
- RmiRemoteInputStreamServer
public abstract class AbstractRemoteInputStreamServer
- extends java.lang.Object
- implements RemoteInputStreamServer
The data producing side of the remote connection that the InputStream
spans.
- Since:
- Alfresco 2.2
Field Summary |
protected java.io.InputStream |
inputStream
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputStream
protected java.io.InputStream inputStream
AbstractRemoteInputStreamServer
protected AbstractRemoteInputStreamServer(java.io.InputStream inputStream)
read
public int read()
throws java.io.IOException
- Specified by:
read
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
read
public int read(byte[] bytes)
throws java.io.IOException
- Specified by:
read
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
read
public int read(byte[] bytes,
int off,
int len)
throws java.io.IOException
- Specified by:
read
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Specified by:
skip
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Specified by:
available
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
mark
public void mark(int readlimit)
- Specified by:
mark
in interface RemoteInputStreamServer
markSupported
public boolean markSupported()
- Specified by:
markSupported
in interface RemoteInputStreamServer
reset
public void reset()
throws java.io.IOException
- Specified by:
reset
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface RemoteInputStreamServer
- Throws:
java.io.IOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.