org.alfresco.repo.deploy
Class DeploymentClientOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.alfresco.repo.deploy.DeploymentClientOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class DeploymentClientOutputStream
extends java.io.OutputStream

OutputStream used by client side to talk to the deployment receiver.


Constructor Summary
DeploymentClientOutputStream(org.alfresco.deployment.DeploymentReceiverTransport transport, java.lang.String ticket, java.lang.String outputToken)
          Make one up.
 
Method Summary
 void close()
           
 void flush()
           
 java.lang.String getOutputToken()
          Get the output token.
 java.lang.String getTicket()
          Get the deployment ticket.
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentClientOutputStream

public DeploymentClientOutputStream(org.alfresco.deployment.DeploymentReceiverTransport transport,
                                    java.lang.String ticket,
                                    java.lang.String outputToken)
Make one up.

Parameters:
transport -
ticket -
outputToken -
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

getTicket

public java.lang.String getTicket()
Get the deployment ticket.

Returns:

getOutputToken

public java.lang.String getOutputToken()
Get the output token.

Returns:


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