public interface IICEService extends IService
Important details of the ICE service are the:
- syndicator role bundling content as offers
- subscriber role subscribing to offers
Copyright (c) SAP AG
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_USER_ID_SERVICE
default user-id of the user which will run all ICE related tasks
|
static String |
ICE_SERVICE
constant used to identify the ICE service at the service factory
|
Modifier and Type | Method and Description |
---|---|
ISubscriberConfig |
getSubscriberConfig()
Gets the configuration of the subscriber role of this ICE service.
|
ISyndicatorConfig |
getSyndicatorConfig()
Gets the configuration of the syndicator role of this ICE service.
|
void |
handlePayload(InputStream is,
OutputStream os,
boolean compress,
IResourceContext context)
Handles an incoming ICE payload and delegates it to the responsible
ICE role (syndicator or subscriber) depending on the sender of the payload.
|
getDescription, getDescription, getID
static final String ICE_SERVICE
static final String DEFAULT_USER_ID_SERVICE
ISubscriberConfig getSubscriberConfig()
ISubscriberConfig
containing the configuration
of the subscriber roleISyndicatorConfig getSyndicatorConfig()
ISyndicatorConfig
containing the configuration
of the syndicator polevoid handlePayload(InputStream is, OutputStream os, boolean compress, IResourceContext context) throws IOException
If the package comes from a syndicator, it will be handed over to the
subscriber role of this ICE service. If it comes from a subscriber,
it will be delegated to the syndicator role of this ICE service.
Passing null
as an argument for is
, os
or context
will cause an exception.
is
- an InputStream
containing the ICE payloados
- an OutputStream
to write the answer tocompress
- true
if the input is and the output
should be zipped, false
otherwisecontext
- an IResourceContext
containing the
authenticated user who sent the ICE payloadIOException
- if an I/O error occursAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice