- All Superinterfaces:
Object
Represents an Ice object that accepts log messages. It's called by the implementation of
LoggerAdminPrx.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Ice::RemoteLogger.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.static StringGets the type ID of the associated Slice interface.initAsync(String prefix, LogMessage[] logMessages, Current current) Attaches a remote logger to the local logger.logAsync(LogMessage message, Current current) Logs a LogMessage.
-
Method Details
-
initAsync
Attaches a remote logger to the local logger.- Parameters:
prefix- The prefix of the associated local Logger.logMessages- Old log messages generated before "now".current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
logAsync
Logs a LogMessage.Remarks:
RemoteLoggerPrx.log(com.zeroc.Ice.LogMessage)may be called byLoggerAdminPrxbeforeRemoteLoggerPrx.init(java.lang.String, com.zeroc.Ice.LogMessage[]).- Parameters:
message- The message to log.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Ice::RemoteLogger"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-