com.dukascopy.api
Interface IMessage


public interface IMessage

Represents message sent from server to client application

Author:
Denis Larka

Nested Class Summary
static class IMessage.Type
          Type of the message
 
Method Summary
 String getContent()
          Returns textual content
 IOrder getOrder()
          Returns IOrder linked with this message or null if there is no related order
 IMessage.Type getType()
          Returns type of the message
 

Method Detail

getType

IMessage.Type getType()
Returns type of the message

Returns:
type of the message

getContent

String getContent()
Returns textual content

Returns:
string content of given message

getOrder

IOrder getOrder()
Returns IOrder linked with this message or null if there is no related order

Returns:
IOrder linked with this message. Can be null


Copyright © 2009. All Rights Reserved.