Package org.cloudfoundry.client.lib.domain

Examples of org.cloudfoundry.client.lib.domain.ApplicationLog


      LogMessages.Message message = LogMessages.Message.parseFrom(rawMessage);
      ApplicationLog.MessageType messageType =
          message.getMessageType() == LogMessages.Message.MessageType.OUT ?
              ApplicationLog.MessageType.STDOUT :
              ApplicationLog.MessageType.STDERR;
      listener.onMessage(new ApplicationLog(message.getAppId(),
          message.getMessage().toStringUtf8(),
          new Date(message.getTimestamp() / NANOSECONDS_IN_MILLISECOND),
          messageType,
          message.getSourceName(), message.getSourceId()));
    } catch (InvalidProtocolBufferException e) {
View Full Code Here

TOP

Related Classes of org.cloudfoundry.client.lib.domain.ApplicationLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.