|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhhannover.inform.trust.ifmapj.channel.ArcImpl
public class ArcImpl
Implementation of ARC
Field Summary | |
---|---|
static String |
VERIFY_PEER_CERT_PROPERTY
|
static String |
VERIFY_PEER_HOST_PROPERTY
|
Method Summary | |
---|---|
void |
closeTcpConnection()
Closes the underlying TCP connection. |
Result |
genericRequest(Request req)
Generic Request Interface |
Result |
genericRequestWithSessionId(Request req)
|
Integer |
getMaxPollResSize()
|
String |
getPassword()
|
String |
getPublisherId()
|
String |
getSessionId()
|
String |
getUrl()
|
String |
getUser()
|
boolean |
isBasicAuth()
|
PollResult |
poll()
Send a poll on the ARC. |
void |
setGzip(boolean useGzip)
Specifies whether GZIP compression should be used. |
void |
setMaxPollResSize(Integer mprs)
Set the max-poll-result-size for this channel. |
void |
setPublisherId(String publisherId)
Set the ifmap-publisher-id for this channel. |
void |
setSessionId(String sessionId)
Set the session-id to be used for this channel. |
boolean |
usesGzip()
Indicates whether GZIP compression is used by this channel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.fhhannover.inform.trust.ifmapj.channel.IfmapChannel |
---|
closeTcpConnection, genericRequest, genericRequestWithSessionId, setGzip, usesGzip |
Field Detail |
---|
public static final String VERIFY_PEER_CERT_PROPERTY
public static final String VERIFY_PEER_HOST_PROPERTY
Method Detail |
---|
public PollResult poll() throws IfmapErrorResult, EndSessionException, IfmapException
ARC
poll
in interface ARC
IfmapErrorResult
EndSessionException
IfmapException
public String getSessionId()
getSessionId
in interface IfmapChannel
SSRC.newSession()
or IfmapChannel.setSessionId(String)
,
or null if none of these calls was made.public String getPublisherId()
getPublisherId
in interface IfmapChannel
SSRC.newSession()
or IfmapChannel.setPublisherId(String)
,
or null if none of these calls was made.public Integer getMaxPollResSize()
getMaxPollResSize
in interface IfmapChannel
SSRC.newSession()
or IfmapChannel.setMaxPollResSize(Integer)
,
or null if none of these calls was made.public void setSessionId(String sessionId)
IfmapChannel
ARC
will change the SSRC
object attached to the
ARC
. Calling it on an SSRC
will also change the attached
ARC
objects for the SSRC
.
setSessionId
in interface IfmapChannel
public void setPublisherId(String publisherId)
IfmapChannel
ARC
will change the SSRC
object attached to the
ARC
. Calling it on an SSRC
will also change the attached
ARC
objects for the SSRC
.
This call will only result in having IfmapChannel.getPublisherId()
return
the set value. Requests won't be influenced.
setPublisherId
in interface IfmapChannel
public void setMaxPollResSize(Integer mprs)
IfmapChannel
ARC
will change the SSRC
object attached to the
ARC
. Calling it on an SSRC
will also change the attached
ARC
objects for the SSRC
.
This call will only result in having IfmapChannel.getMaxPollResSize()
return
the set value. Requests won't be influenced.
setMaxPollResSize
in interface IfmapChannel
public final Result genericRequestWithSessionId(Request req) throws IfmapErrorResult, IfmapException
genericRequestWithSessionId
in interface IfmapChannel
IfmapErrorResult
IfmapException
public final Result genericRequest(Request req) throws IfmapErrorResult, IfmapException
IfmapChannel
genericRequest
in interface IfmapChannel
IfmapErrorResult
IfmapException
public String getUrl()
public String getUser()
public String getPassword()
public void setGzip(boolean useGzip)
IfmapChannel
setGzip
in interface IfmapChannel
useGzip
- true if GZIP should be usedpublic boolean usesGzip()
IfmapChannel
usesGzip
in interface IfmapChannel
public boolean isBasicAuth()
public void closeTcpConnection() throws CommunicationException
IfmapChannel
closeTcpConnection
in interface IfmapChannel
CommunicationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |