org.alfresco.util.remote.server
Interface RemoteInputStreamServer

All Known Implementing Classes:
AbstractRemoteInputStreamServer, RmiRemoteInputStreamServer

public interface RemoteInputStreamServer

Interface for remote input stream support.

Since:
Alfresco 2.2

Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] bytes)
           
 int read(byte[] bytes, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 java.lang.String start(java.lang.String host, int port)
           
 

Method Detail

start

java.lang.String start(java.lang.String host,
                       int port)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

read

int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

int read(byte[] bytes)
         throws java.io.IOException
Throws:
java.io.IOException

read

int read(byte[] bytes,
         int off,
         int len)
         throws java.io.IOException
Throws:
java.io.IOException

skip

long skip(long n)
          throws java.io.IOException
Throws:
java.io.IOException

available

int available()
              throws java.io.IOException
Throws:
java.io.IOException

mark

void mark(int readlimit)

markSupported

boolean markSupported()

reset

void reset()
           throws java.io.IOException
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.