asit.moa.client.deliver.robot
Class RobotDeliveryClient
java.lang.Object
asit.moa.client.deliver.robot.RobotDeliveryClient
- All Implemented Interfaces:
- Client, DeliveryClient
- public class RobotDeliveryClient
- extends Object
- implements DeliveryClient
- Author:
- atauber
|
Method Summary |
void |
addDocument(InputStream is,
String receiverSurName,
String receiverGivenName,
String receiverEmail,
String deliveryNumber,
String fileExtension)
|
void |
addDocument(String content,
String receiverSurName,
String receiverGivenName,
String receiverEmail,
String deliveryNumber,
String fileExtension)
|
void |
addPayLoadBinaryDocument(InputStream binDoc,
String fileName,
String mimeType)
|
void |
deliver()
|
String |
generateDeliveryNumber()
|
Element |
getRequest()
|
Element |
sendRequest(String address)
|
Element |
sendRequest(String address,
InputStream is)
|
void |
setClientAuthStore(String fileLocation,
String password)
|
void |
setDefaultAddress(String address)
|
void |
setHostNameVerifierEnabled(boolean value)
|
void |
setReceiver(Adressat data)
|
void |
setSSLSocketFactory(SSLSocketFactory factory)
|
void |
setSSLTrustStore(String fileLocation,
String password)
|
void |
setSSLTrustStore(String fileLocation,
String password,
String type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties_
protected Properties properties_
deliveryRobot_
protected DeliveryRobotWrapper deliveryRobot_
RobotDeliveryClient
public RobotDeliveryClient()
addDocument
public void addDocument(String content,
String receiverSurName,
String receiverGivenName,
String receiverEmail,
String deliveryNumber,
String fileExtension)
throws DeliveryException
- Throws:
DeliveryException
addDocument
public void addDocument(InputStream is,
String receiverSurName,
String receiverGivenName,
String receiverEmail,
String deliveryNumber,
String fileExtension)
throws DeliveryException
- Throws:
DeliveryException
deliver
public void deliver()
throws DeliveryException
- Specified by:
deliver in interface DeliveryClient
- Throws:
DeliveryException
generateDeliveryNumber
public String generateDeliveryNumber()
getRequest
public Element getRequest()
throws ClientException
- Specified by:
getRequest in interface Client
- Throws:
ClientException
sendRequest
public Element sendRequest(String address)
throws ClientException
- Specified by:
sendRequest in interface Client
- Throws:
ClientException
setDefaultAddress
public void setDefaultAddress(String address)
- Specified by:
setDefaultAddress in interface Client
addPayLoadBinaryDocument
public void addPayLoadBinaryDocument(InputStream binDoc,
String fileName,
String mimeType)
throws IOException
- Specified by:
addPayLoadBinaryDocument in interface DeliveryClient
- Throws:
IOException
setSSLTrustStore
public void setSSLTrustStore(String fileLocation,
String password)
setHostNameVerifierEnabled
public void setHostNameVerifierEnabled(boolean value)
- Specified by:
setHostNameVerifierEnabled in interface Client
sendRequest
public Element sendRequest(String address,
InputStream is)
throws ClientException
- Specified by:
sendRequest in interface Client
- Throws:
ClientException
setReceiver
public void setReceiver(Adressat data)
- Specified by:
setReceiver in interface DeliveryClient
setClientAuthStore
public void setClientAuthStore(String fileLocation,
String password)
- Specified by:
setClientAuthStore in interface Client
setSSLTrustStore
public void setSSLTrustStore(String fileLocation,
String password,
String type)
- Specified by:
setSSLTrustStore in interface Client
setSSLSocketFactory
public void setSSLSocketFactory(SSLSocketFactory factory)
- Specified by:
setSSLSocketFactory in interface Client
Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.