- All Superinterfaces:
Object
Represents an Ice object that accepts log messages. It's called by the implementation of
LoggerAdminPrx
.-
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 String
Gets the type ID of the associated Slice interface.void
init
(String prefix, LogMessage[] logMessages, Current current) Attaches a remote logger to the local logger.void
log
(LogMessage message, Current current) Logs a LogMessage.
-
Method Details
-
init
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.
-
log
Logs a LogMessage.Remarks:
RemoteLoggerPrx.log(com.zeroc.Ice.LogMessage)
may be called byLoggerAdminPrx
beforeRemoteLoggerPrx.init(java.lang.String, com.zeroc.Ice.LogMessage[])
.- Parameters:
message
- The message to log.current
- The Current object of the incoming request.
-
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:
dispatch
in interfaceObject
- Parameters:
request
- the incoming request- Returns:
- the outgoing response
- Throws:
UserException
- if aUserException
is thrown, Ice will marshal it as the response payload.
-