Class: SkypeR::Object::Application
Overview
APPLICATION object
Properties
* CONNECTABLE - query connectable users. NB! From API version 3.0, this property enters the deprecation process.
-> GET APPLICATION appname CONNECTABLE
<- APPLICATION appname CONNECTABLE [username[ username]*]
* CONNECTING - query on-going connection process after the connection is established. Username is removed from CONNECTING list.
-> GET APPLICATION appname CONNECTING
<- APPLICATION appname CONNECTING [username[ username]*]
* STREAMS - query open streams (connections)
-> GET APPLICATION appname STREAMS
<- APPLICATION appname STREAMS [username:id[ username:id]*]
* SENDING - query if currently sending any data. After the data is sent, the stream name is removed from the SENDING list
-> GET APPLICATION appname RECIEVED
<- APPLICATION appname SENDING [username:id=bytes [username:id bytes]*]
* Note: In Skype 1.4x, the number of bytes reported by the SENDING notification following an APPLICATION WRITE is 2 bytes longer than that which was written.
-> alter application exe write testtest20:1 w
<- ALTER APPLICATION exe WRITE testtest20:1
<- APPLICATION exe SENDING testtest20:1 3
-> alter application exe write testtest20:1 1234567890
<- ALTER APPLICATION exe WRITE testtest20:1
<- APPLICATION exe SENDING testtest20:1 12
* RECEIVED - query if there is data waiting in received buffer. After the data is read from the stream, the stream name is removed from the RECEIVED list.
-> GET APPLICATION appname RECEIVED
<- APPLICATION appname SENDING [username:id=bytes [username:id bytes]*]
* incoming datagram notification
<- APPLICATION appname DATAGRAM user:id text
Version
* Protocol 5
* Skype for Windows 1.4
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Application
constructor
A new instance of Application.
Methods inherited from Base
Constructor Details
#initialize(args = {}) ⇒ Application
Returns a new instance of Application.
460 461 462 463 464 |
# File 'lib/skyper/object.rb', line 460 def initialize(args={}) @connectable = args[:connectable] if args[:connectable] @streams = args[:streams] if args[:streams] @sending = args[:sending] if args[:sending] end |