Skip to content

Commit

Permalink
Journal is not obsolete. It can still be used for rest calls
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKert committed Feb 12, 2020
1 parent 1213671 commit 7aa9456
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/fiskaltrust.ifPOS/v0/IPOS.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.IO;
using System.ServiceModel;
#if WCF
using System.ServiceModel.Web;
Expand Down Expand Up @@ -54,8 +55,7 @@ public interface IPOS
#if WCF
[WebInvoke(UriTemplate = "v0/journal?type={ftJournalType}&from={from}&to={to}")]
#endif
[Obsolete("This method is obsolete, use v1.JournalAsync instead.")]
System.IO.Stream Journal(long ftJournalType, long from, long to);
Stream Journal(long ftJournalType, long from, long to);

/// <summary>
/// Stream down a journal async begin pattern
Expand All @@ -76,7 +76,7 @@ public interface IPOS
/// <param name="result"></param>
/// <returns></returns>
[Obsolete("This method is obsolete, use v1.JournalAsync instead.")]
System.IO.Stream EndJournal(IAsyncResult result);
Stream EndJournal(IAsyncResult result);

/// <summary>
/// Function to test communication
Expand Down
2 changes: 1 addition & 1 deletion src/fiskaltrust.ifPOS/v1/IPOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public interface IPOS : v0.IPOS

[OperationContract(Name = "v1/Echo")]
#if WCF
[WebInvoke(BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "v1/echo")]
[WebInvoke(BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "v1/echo")]
#endif
Task<EchoResponse> EchoAsync(EchoRequest message);
}
Expand Down

0 comments on commit 7aa9456

Please sign in to comment.