trait RoomApiWrapperUtils extends AnyRef
A trait that contains utility methods for a RoomApiWrapper
- Self Type
- RoomApiWrapperUtils with VertxClient
- Alphabetic
- By Inheritance
- RoomApiWrapperUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addressesForEnteringJson(playerAddress: Address, notificationAddress: Address): JsonArray
Handle method to create the JSON to use in entering API
Handle method to create the JSON to use in entering API
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createPrivateRoomRequest(roomName: String, neededPlayers: Int)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService createPrivateRoom API
Wrapper method to do REST HTTP call to RoomsService createPrivateRoom API
- Attributes
- protected
-
def
enterPrivateRoomRequest(roomID: String, userAddress: Address, notificationAddress: Address)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService enterPrivateRoom API
Wrapper method to do REST HTTP call to RoomsService enterPrivateRoom API
- Attributes
- protected
-
def
enterPublicRoomRequest(playersNumber: Int, userAddress: Address, notificationAddress: Address)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService enterPublicRoom API
Wrapper method to do REST HTTP call to RoomsService enterPublicRoom API
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exitPrivateRoomRequest(roomID: String)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService exitPrivateRoom API
Wrapper method to do REST HTTP call to RoomsService exitPrivateRoom API
- Attributes
- protected
-
def
exitPublicRoomRequest(playersNumber: Int)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService exitPublicRoom API
Wrapper method to do REST HTTP call to RoomsService exitPublicRoom API
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
listPublicRoomsRequest()(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService listPublicRooms API
Wrapper method to do REST HTTP call to RoomsService listPublicRooms API
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
privateRoomInfoRequest(roomID: String)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService privateRoomInfo API
Wrapper method to do REST HTTP call to RoomsService privateRoomInfo API
- Attributes
- protected
-
def
publicRoomInfoRequest(playersNumber: Int)(implicit webClient: WebClient, userToken: String): Future[HttpResponse[Buffer]]
Wrapper method to do REST HTTP call to RoomsService publicRoomInfo API
Wrapper method to do REST HTTP call to RoomsService publicRoomInfo API
- Attributes
- protected
-
def
roomForCreationJson(roomName: String, playersNumber: Int): JsonObject
Handle method to create the JSON to use in creation API
Handle method to create the JSON to use in creation API
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )