### Table of Contents - [constructor](#constructor) - [queue](#queue) - [peek](#peek) - [dequeue](#dequeue) - [size](#size) ## constructor [port.js:7-10](https://github.com/primea/js-primea-hypervisor/blob/9b7a855ce9b773c9162179ef6cdb3c70739711f0/port.js#L7-L10 "Source code on GitHub") a simple repsentation of a port **Properties** - `ticks` **Interger** the last know number of ticks the corrisponding container is at ## queue [port.js:16-19](https://github.com/primea/js-primea-hypervisor/blob/9b7a855ce9b773c9162179ef6cdb3c70739711f0/port.js#L16-L19 "Source code on GitHub") queues a message on the port **Parameters** - `message` - `Message` ## peek [port.js:25-27](https://github.com/primea/js-primea-hypervisor/blob/9b7a855ce9b773c9162179ef6cdb3c70739711f0/port.js#L25-L27 "Source code on GitHub") returns the message at the front of the queue Returns **Message** ## dequeue [port.js:33-35](https://github.com/primea/js-primea-hypervisor/blob/9b7a855ce9b773c9162179ef6cdb3c70739711f0/port.js#L33-L35 "Source code on GitHub") dequeue a message Returns **Message** ## size [port.js:41-43](https://github.com/primea/js-primea-hypervisor/blob/9b7a855ce9b773c9162179ef6cdb3c70739711f0/port.js#L41-L43 "Source code on GitHub") returns the size of the queue Returns **Integer**