se.laz.casual.jca.conversation.ConversationDirection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casual-jca Show documentation
Show all versions of casual-jca Show documentation
Casual JCA - Resource Adapter for Casual middleware.
/*
* Copyright (c) 2021, The casual project. All rights reserved.
*
* This software is licensed under the MIT license, https://opensource.org/licenses/MIT
*/
package se.laz.casual.jca.conversation;
public enum ConversationDirection
{
SEND,
RECEIVE;
ConversationDirection switchDirection()
{
return this == ConversationDirection.SEND ? RECEIVE : SEND;
}
boolean isReceive()
{
return this == RECEIVE;
}
boolean isSend()
{
return this == SEND;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy